Class WriteSupport.WriteContext

  • Enclosing class:
    WriteSupport<T>

    public static final class WriteSupport.WriteContext
    extends Object
    information to be persisted in the file
    • Constructor Detail

      • WriteContext

        public WriteContext​(org.apache.parquet.schema.MessageType schema,
                            Map<String,​String> extraMetaData)
        Parameters:
        schema - the schema of the data
        extraMetaData - application specific metadata to add in the file
        Throws:
        NullPointerException - if schema or extraMetaData is null
    • Method Detail

      • getSchema

        public org.apache.parquet.schema.MessageType getSchema()
        Returns:
        the schema of the file
      • getExtraMetaData

        public Map<String,​String> getExtraMetaData()
        Returns:
        application specific metadata