Class SchemaAware
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.data.SchemaAware
-
-
Constructor Summary
Constructors Constructor Description SchemaAware()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<org.apache.arrow.vector.types.pojo.Field>
getFields()
Provides access to the Fields on the Schema currently being used by this Object.Map<String,String>
getMetaData()
Provides access to all avaialable metadata on the Schema.String
getMetaData(String key)
Provides access to metadata stored on the Schema currently being used by this Object.protected abstract org.apache.arrow.vector.types.pojo.Schema
internalGetSchema()
Provides access to the Schema object.
-
-
-
Method Detail
-
internalGetSchema
protected abstract org.apache.arrow.vector.types.pojo.Schema internalGetSchema()
Provides access to the Schema object.- Returns:
- The Schema currently being used by this object.
-
getFields
public List<org.apache.arrow.vector.types.pojo.Field> getFields()
Provides access to the Fields on the Schema currently being used by this Object.- Returns:
- The list of fields.
-
getMetaData
public String getMetaData(String key)
Provides access to metadata stored on the Schema currently being used by this Object.- Parameters:
key
- The metadata key to lookup.- Returns:
- The value associated with that key in the Schema's metadata, null if no such key exists.
-
-