Uses of Class
org.apache.pinot.spi.data.Schema
-
-
Uses of Schema in org.apache.pinot.spi.config
Methods in org.apache.pinot.spi.config that return Schema Modifier and Type Method Description SchemaTableConfigs. getSchema()Constructors in org.apache.pinot.spi.config with parameters of type Schema Constructor Description TableConfigs(String tableName, Schema schema, TableConfig offline, TableConfig realtime) -
Uses of Schema in org.apache.pinot.spi.config.provider
Methods in org.apache.pinot.spi.config.provider that return Schema Modifier and Type Method Description SchemaPinotConfigProvider. getSchema(String rawTableName)Returns the schema for the given raw table name.Method parameters in org.apache.pinot.spi.config.provider with type arguments of type Schema Modifier and Type Method Description voidSchemaChangeListener. onChange(List<Schema> schemaList)The callback to be invoked on schema changes -
Uses of Schema in org.apache.pinot.spi.data
Methods in org.apache.pinot.spi.data that return Schema Modifier and Type Method Description SchemaSchema.SchemaBuilder. build()SchemaSchema. clone()static SchemaSchema. fromFile(File schemaFile)static SchemaSchema. fromInputStream(InputStream schemaInputStream)static SchemaSchema. fromString(String schemaString)Methods in org.apache.pinot.spi.data that return types with arguments of type Schema Modifier and Type Method Description static org.apache.commons.lang3.tuple.Pair<Schema,Map<String,Object>>Schema. parseSchemaAndUnrecognizedPropsfromInputStream(InputStream schemaInputStream)Methods in org.apache.pinot.spi.data with parameters of type Schema Modifier and Type Method Description static IngestionSchemaValidatorSchemaValidatorFactory. getSchemaValidator(Schema pinotSchema, String recordReaderClassName, String inputFilePath)Gets schema validator given the record recorder and the input file pathvoidIngestionSchemaValidator. init(Schema pinotSchema, String inputFilePath)booleanSchema. isBackwardCompatibleWith(Schema oldSchema)Check whether the current schema is backward compatible with oldSchema.voidSchema. updateBooleanFieldsIfNeeded(Schema oldSchema)Updates fields with BOOLEAN data type to STRING if the data type in the old schema is STRING. -
Uses of Schema in org.apache.pinot.spi.ingestion.batch.spec
Methods in org.apache.pinot.spi.ingestion.batch.spec that return Schema Modifier and Type Method Description SchemaSegmentGenerationTaskSpec. getSchema()Methods in org.apache.pinot.spi.ingestion.batch.spec with parameters of type Schema Modifier and Type Method Description voidSegmentGenerationTaskSpec. setSchema(Schema schema) -
Uses of Schema in org.apache.pinot.spi.ingestion.segment.writer
Methods in org.apache.pinot.spi.ingestion.segment.writer with parameters of type Schema Modifier and Type Method Description voidSegmentWriter. init(TableConfig tableConfig, Schema schema)voidSegmentWriter. init(TableConfig tableConfig, Schema schema, Map<String,String> batchConfigOverride)Initializes theSegmentWriterwith provided tableConfig and Pinot schema. -
Uses of Schema in org.apache.pinot.spi.utils
Methods in org.apache.pinot.spi.utils that return Schema Modifier and Type Method Description static SchemaJsonUtils. getPinotSchemaFromJsonFile(File jsonFile, Map<String,FieldSpec.FieldType> fieldTypeMap, TimeUnit timeUnit, List<String> fieldsToUnnest, String delimiter, ComplexTypeConfig.CollectionNotUnnestedToJson collectionNotUnnestedToJson)static SchemaJsonUtils. getPinotSchemaFromJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, Map<String,FieldSpec.FieldType> fieldTypeMap, TimeUnit timeUnit, List<String> fieldsToUnnest, String delimiter, ComplexTypeConfig.CollectionNotUnnestedToJson collectionNotUnnestedToJson)Methods in org.apache.pinot.spi.utils with parameters of type Schema Modifier and Type Method Description static voidTimestampIndexUtils. applyTimestampIndex(TableConfig tableConfig, Schema schema)Applies the TIMESTAMP index configured in the table config: - Adds the derived timestamp columns with granularity to the schema - Adds transform for the derived timestamp columns with granularity - Adds range index to the derived timestamp columns with granularity
-