Uses of Class
org.apache.pinot.common.utils.DataSchema
-
-
Uses of DataSchema in org.apache.pinot.common.datablock
Fields in org.apache.pinot.common.datablock declared as DataSchema Modifier and Type Field Description protected DataSchemaBaseDataBlock. _dataSchemaMethods in org.apache.pinot.common.datablock that return DataSchema Modifier and Type Method Description DataSchemaBaseDataBlock. getDataSchema()DataSchemaDataBlock. getDataSchema()Methods in org.apache.pinot.common.datablock with parameters of type DataSchema Modifier and Type Method Description static intDataBlockUtils. computeColumnOffsets(DataSchema dataSchema, int[] columnOffsets)Given aDataSchema, compute each column's offset and fill them into the passed in array, then return the row size in bytes.static voidDataBlockUtils. computeColumnSizeInBytes(DataSchema dataSchema, int[] columnSizes)Given aDataSchema, compute each column's size and fill them into the passed in array.Constructors in org.apache.pinot.common.datablock with parameters of type DataSchema Constructor Description BaseDataBlock(int numRows, DataSchema dataSchema, String[] stringDictionary, byte[] fixedSizeDataBytes, byte[] variableSizeDataBytes)construct a base data block.ColumnarDataBlock(int numRows, DataSchema dataSchema, String[] stringDictionary, byte[] fixedSizeDataBytes, byte[] variableSizeDataBytes)RowDataBlock(int numRows, DataSchema dataSchema, String[] stringDictionary, byte[] fixedSizeDataBytes, byte[] variableSizeDataBytes) -
Uses of DataSchema in org.apache.pinot.common.datatable
Fields in org.apache.pinot.common.datatable declared as DataSchema Modifier and Type Field Description protected DataSchemaBaseDataTable. _dataSchemaprotected DataSchemaDataTableImplV4. _dataSchemaMethods in org.apache.pinot.common.datatable that return DataSchema Modifier and Type Method Description DataSchemaBaseDataTable. getDataSchema()DataSchemaDataTable. getDataSchema()DataSchemaDataTableImplV4. getDataSchema()Methods in org.apache.pinot.common.datatable with parameters of type DataSchema Modifier and Type Method Description static intDataTableUtils. computeColumnOffsets(DataSchema dataSchema, int[] columnOffsets, int dataTableVersion)Given aDataSchema, compute each column's offset and fill them into the passed in array, then return the row size in bytes.Constructors in org.apache.pinot.common.datatable with parameters of type DataSchema Constructor Description BaseDataTable(int numRows, DataSchema dataSchema, Map<String,Map<Integer,String>> dictionaryMap, byte[] fixedSizeDataBytes, byte[] variableSizeDataBytes)DataTableImplV2(int numRows, DataSchema dataSchema, Map<String,Map<Integer,String>> dictionaryMap, byte[] fixedSizeDataBytes, byte[] variableSizeDataBytes)Construct data table with results.DataTableImplV3(int numRows, DataSchema dataSchema, Map<String,Map<Integer,String>> dictionaryMap, byte[] fixedSizeDataBytes, byte[] variableSizeDataBytes)Construct data table with results.DataTableImplV4(int numRows, DataSchema dataSchema, String[] stringDictionary, byte[] fixedSizeDataBytes, byte[] variableSizeDataBytes) -
Uses of DataSchema in org.apache.pinot.common.response.broker
Methods in org.apache.pinot.common.response.broker that return DataSchema Modifier and Type Method Description DataSchemaResultTable. getDataSchema()Constructors in org.apache.pinot.common.response.broker with parameters of type DataSchema Constructor Description ResultTable(DataSchema dataSchema, List<Object[]> rows) -
Uses of DataSchema in org.apache.pinot.common.utils
Fields in org.apache.pinot.common.utils declared as DataSchema Modifier and Type Field Description static DataSchemaDataSchema. EXPLAIN_RESULT_SCHEMAUsed by both Broker and Server to generate results for EXPLAIN PLAN queries.Methods in org.apache.pinot.common.utils that return DataSchema Modifier and Type Method Description DataSchemaDataSchema. clone()static DataSchemaDataSchema. fromBytes(ByteBuffer buffer)This method use relative operations on the ByteBuffer and expects the buffer's position to be set correctly.static DataSchemaDataSchema. upgradeToCover(DataSchema originalSchema, DataSchema anotherDataSchema)Upgrade the current data schema to cover the column data types in the given data schema.Methods in org.apache.pinot.common.utils with parameters of type DataSchema Modifier and Type Method Description booleanDataSchema. isTypeCompatibleWith(DataSchema anotherDataSchema)Returns whether the given data schema is type compatible with this one.static DataSchemaDataSchema. upgradeToCover(DataSchema originalSchema, DataSchema anotherDataSchema)Upgrade the current data schema to cover the column data types in the given data schema. -
Uses of DataSchema in org.apache.pinot.sql.parsers.dml
Methods in org.apache.pinot.sql.parsers.dml that return DataSchema Modifier and Type Method Description DataSchemaDataManipulationStatement. getResultSchema()DataSchemaInsertIntoFile. getResultSchema()
-