Interface DataBlock
-
- All Known Implementing Classes:
BaseDataBlock,ColumnarDataBlock,MetadataBlock,RowDataBlock
public interface DataBlock
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDataBlock.Type
-
Method Summary
Modifier and Type Method Description voidaddException(int errCode, String errMsg)voidaddException(ProcessingException processingException)BigDecimalgetBigDecimal(int rowId, int colId)ByteArraygetBytes(int rowId, int colId)DataSchemagetDataSchema()doublegetDouble(int rowId, int colId)double[]getDoubleArray(int rowId, int colId)Map<Integer,String>getExceptions()floatgetFloat(int rowId, int colId)float[]getFloatArray(int rowId, int colId)intgetInt(int rowId, int colId)int[]getIntArray(int rowId, int colId)longgetLong(int rowId, int colId)long[]getLongArray(int rowId, int colId)Map<String,String>getMetadata()org.roaringbitmap.RoaringBitmapgetNullRowIds(int colId)intgetNumberOfRows()StringgetString(int rowId, int colId)String[]getStringArray(int rowId, int colId)intgetVersion()byte[]toBytes()DataBlocktoDataOnlyDataTable()DataBlocktoMetadataOnlyDataTable()
-
-
-
Method Detail
-
getDataSchema
DataSchema getDataSchema()
-
getNumberOfRows
int getNumberOfRows()
-
addException
void addException(ProcessingException processingException)
-
addException
void addException(int errCode, String errMsg)
-
toBytes
byte[] toBytes() throws IOException- Throws:
IOException
-
getVersion
int getVersion()
-
getInt
int getInt(int rowId, int colId)
-
getLong
long getLong(int rowId, int colId)
-
getFloat
float getFloat(int rowId, int colId)
-
getDouble
double getDouble(int rowId, int colId)
-
getBigDecimal
BigDecimal getBigDecimal(int rowId, int colId)
-
getString
String getString(int rowId, int colId)
-
getBytes
ByteArray getBytes(int rowId, int colId)
-
getIntArray
int[] getIntArray(int rowId, int colId)
-
getLongArray
long[] getLongArray(int rowId, int colId)
-
getFloatArray
float[] getFloatArray(int rowId, int colId)
-
getDoubleArray
double[] getDoubleArray(int rowId, int colId)
-
getStringArray
String[] getStringArray(int rowId, int colId)
-
getNullRowIds
@Nullable org.roaringbitmap.RoaringBitmap getNullRowIds(int colId)
-
toMetadataOnlyDataTable
DataBlock toMetadataOnlyDataTable()
-
toDataOnlyDataTable
DataBlock toDataOnlyDataTable()
-
-