public class ChunkUtils
extends java.lang.Object
Constructor and Description |
---|
ChunkUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
closeNewChunks(NewChunk[] nchks) |
static NewChunk[] |
createNewChunks(java.lang.String name,
byte[] vecTypes,
int chunkId) |
static NewChunk[] |
createNewChunks(java.lang.String name,
byte[] vecTypes,
int chunkId,
boolean[] sparse) |
static Frame |
finalizeFrame(java.lang.String keyName,
long[] rowsPerChunk,
byte[] colTypes,
java.lang.String[][] colDomains) |
static Frame |
finalizeFrame(java.lang.String keyName,
long[] rowsPerChunk,
byte[] colTypes,
java.lang.String[][] colDomains,
boolean unlock) |
static Chunk[] |
getChunks(Frame fr,
int cidx) |
static void |
initFrame(java.lang.String keyName,
java.lang.String[] names) |
public static NewChunk[] createNewChunks(java.lang.String name, byte[] vecTypes, int chunkId)
public static NewChunk[] createNewChunks(java.lang.String name, byte[] vecTypes, int chunkId, boolean[] sparse)
public static void closeNewChunks(NewChunk[] nchks)
public static void initFrame(java.lang.String keyName, java.lang.String[] names)
public static Frame finalizeFrame(java.lang.String keyName, long[] rowsPerChunk, byte[] colTypes, java.lang.String[][] colDomains)
public static Frame finalizeFrame(java.lang.String keyName, long[] rowsPerChunk, byte[] colTypes, java.lang.String[][] colDomains, boolean unlock)