Package org.apache.pinot.common.utils
Interface DataTable
-
public interface DataTableData table is used to transfer data from server to broker.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDataTable.MetadataKeystatic classDataTable.MetadataValueType
-
Field Summary
Fields Modifier and Type Field Description static StringEXCEPTION_METADATA_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddException(int exceptionCode, String exceptionMsg)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()<T> TgetObject(int rowId, int colId)StringgetString(int rowId, int colId)String[]getStringArray(int rowId, int colId)intgetVersion()byte[]toBytes()DataTabletoDataOnlyDataTable()DataTabletoMetadataOnlyDataTable()
-
-
-
Field Detail
-
EXCEPTION_METADATA_KEY
static final String EXCEPTION_METADATA_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
addException
void addException(ProcessingException processingException)
-
addException
void addException(int exceptionCode, String exceptionMsg)
-
getVersion
int getVersion()
-
toBytes
byte[] toBytes() throws IOException- Throws:
IOException
-
getDataSchema
DataSchema getDataSchema()
-
getNumberOfRows
int getNumberOfRows()
-
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)
-
getObject
<T> T getObject(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
DataTable toMetadataOnlyDataTable()
-
toDataOnlyDataTable
DataTable toDataOnlyDataTable()
-
-