- fromCellSchema
Constructs a CellSpec instance from a CellSchema descriptor.
- setSchemaTable
Sets the Schema table used to resolve Avro schemas. Also sets the Avro schema
resolver.
- <init>
Initializes a new unspecified CellSpec.
- copy
Makes a copy of an existing CellSpec.
- getAvroSchema
Returns the Avro reader schema used to decode cells. For Avro-encoded cells
only.
- getCellSchema
Returns the underlying CellSchema Avro record. May be null.
- getColumnURI
Returns the URI of the column this specification is for. Potentially null.
- getDecoderFactory
Returns the factory for cell decoders to use for this column.
- getDefaultReaderSchema
Returns the default Avro schema to use to decode cells from this column, if any.
For Avro-encoded c
- getEncoderFactory
Returns the factory for cell encoders to use for this column.
- getOrCreateCellSchema
Returns the underlying CellSchema Avro record, creating it if necessary.
- getSchemaFromClass
Reports the Avro schema from a generated class.