water.fvec
Class NewChunk

java.lang.Object
  extended by water.Iced
      extended by water.fvec.Chunk
          extended by water.fvec.NewChunk
All Implemented Interfaces:
java.lang.Cloneable, Freezable

public class NewChunk
extends Chunk


Field Summary
 
Fields inherited from class water.fvec.Chunk
_chk, _len, _start, _vec
 
Constructor Summary
NewChunk(Chunk C)
           
NewChunk(Vec vec, int cidx)
           
 
Method Summary
 void addEnum(int e)
           
 void addNA()
           
 void addNum(double d)
           
 void addNum(long val, int exp)
           
 long at8_impl(int i)
           
 double atd_impl(int i)
          Chunk-specific readers.
 Chunk close(Futures fs)
           
 boolean isNA_impl(int i)
           
protected  boolean isNA(int idx)
           
 NewChunk read(AutoBuffer bb)
          Deserialize from the AutoBuffer into a pre-existing 'this' object.
 byte type()
           
 AutoBuffer write(AutoBuffer bb)
          Chunk-specific implementations of read & write
 
Methods inherited from class water.fvec.Chunk
at_slow, at, at0, at8_slow, at8, at80, byteSize, cidx, clone, close, getBytes, isNA_slow, isNA, isNA0, pformat_len, pformat_len0, pformat_len0, pformat, pformat0, readable, set, set, set, set0, set0, set0, setNA, setNA0, toString, writable
 
Methods inherited from class water.Iced
frozenType, init, newInstance, toDocField, writeJSON, writeJSONFields
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NewChunk

public NewChunk(Vec vec,
                int cidx)

NewChunk

public NewChunk(Chunk C)
Method Detail

type

public byte type()

isNA

protected final boolean isNA(int idx)

addNA

public void addNA()

addNum

public void addNum(long val,
                   int exp)

addEnum

public void addEnum(int e)

addNum

public void addNum(double d)

close

public Chunk close(Futures fs)

at8_impl

public long at8_impl(int i)
Specified by:
at8_impl in class Chunk

atd_impl

public double atd_impl(int i)
Description copied from class: Chunk
Chunk-specific readers.

Specified by:
atd_impl in class Chunk

isNA_impl

public boolean isNA_impl(int i)
Specified by:
isNA_impl in class Chunk

write

public AutoBuffer write(AutoBuffer bb)
Description copied from class: Chunk
Chunk-specific implementations of read & write

Specified by:
write in interface Freezable
Specified by:
write in class Chunk

read

public NewChunk read(AutoBuffer bb)
Description copied from interface: Freezable
Deserialize from the AutoBuffer into a pre-existing 'this' object.

Specified by:
read in interface Freezable
Specified by:
read in class Chunk