package parquet

Import Path
	github.com/apache/arrow-go/v18/parquet/internal/gen-go/parquet (on go.dev)

Dependency Relation
	imports 10 packages, and imported by 3 packages


Package-Level Type Names (total 66)
/* sort by: | */
Attributes: - AadPrefix: AAD prefix * - AadFileUnique: Unique file identifier part of AAD suffix * - SupplyAadPrefix: In files encrypted with AAD prefix without storing it, readers must supply the prefix * AadFileUnique []byte AadPrefix []byte SupplyAadPrefix *bool (*AesGcmCtrV1) Equals(other *AesGcmCtrV1) bool (*AesGcmCtrV1) GetAadFileUnique() []byte (*AesGcmCtrV1) GetAadPrefix() []byte (*AesGcmCtrV1) GetSupplyAadPrefix() bool (*AesGcmCtrV1) IsSetAadFileUnique() bool (*AesGcmCtrV1) IsSetAadPrefix() bool (*AesGcmCtrV1) IsSetSupplyAadPrefix() bool (*AesGcmCtrV1) LogValue() slog.Value (*AesGcmCtrV1) Read(ctx context.Context, iprot thrift.TProtocol) error (*AesGcmCtrV1) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*AesGcmCtrV1) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*AesGcmCtrV1) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*AesGcmCtrV1) String() string (*AesGcmCtrV1) Validate() error (*AesGcmCtrV1) Write(ctx context.Context, oprot thrift.TProtocol) error *AesGcmCtrV1 : github.com/apache/thrift/lib/go/thrift.TStruct *AesGcmCtrV1 : expvar.Var *AesGcmCtrV1 : fmt.Stringer *AesGcmCtrV1 : log/slog.LogValuer func NewAesGcmCtrV1() *AesGcmCtrV1 func (*EncryptionAlgorithm).GetAES_GCM_CTR_V1() *AesGcmCtrV1 func (*AesGcmCtrV1).Equals(other *AesGcmCtrV1) bool var EncryptionAlgorithm_AES_GCM_CTR_V1_DEFAULT *AesGcmCtrV1
Attributes: - AadPrefix: AAD prefix * - AadFileUnique: Unique file identifier part of AAD suffix * - SupplyAadPrefix: In files encrypted with AAD prefix without storing it, readers must supply the prefix * AadFileUnique []byte AadPrefix []byte SupplyAadPrefix *bool (*AesGcmV1) Equals(other *AesGcmV1) bool (*AesGcmV1) GetAadFileUnique() []byte (*AesGcmV1) GetAadPrefix() []byte (*AesGcmV1) GetSupplyAadPrefix() bool (*AesGcmV1) IsSetAadFileUnique() bool (*AesGcmV1) IsSetAadPrefix() bool (*AesGcmV1) IsSetSupplyAadPrefix() bool (*AesGcmV1) LogValue() slog.Value (*AesGcmV1) Read(ctx context.Context, iprot thrift.TProtocol) error (*AesGcmV1) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*AesGcmV1) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*AesGcmV1) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*AesGcmV1) String() string (*AesGcmV1) Validate() error (*AesGcmV1) Write(ctx context.Context, oprot thrift.TProtocol) error *AesGcmV1 : github.com/apache/thrift/lib/go/thrift.TStruct *AesGcmV1 : expvar.Var *AesGcmV1 : fmt.Stringer *AesGcmV1 : log/slog.LogValuer func NewAesGcmV1() *AesGcmV1 func (*EncryptionAlgorithm).GetAES_GCM_V1() *AesGcmV1 func (*AesGcmV1).Equals(other *AesGcmV1) bool var EncryptionAlgorithm_AES_GCM_V1_DEFAULT *AesGcmV1
The algorithm used in Bloom filter. * Attributes: - BLOCK: Block-based Bloom filter. * BLOCK *SplitBlockAlgorithm (*BloomFilterAlgorithm) CountSetFieldsBloomFilterAlgorithm() int (*BloomFilterAlgorithm) Equals(other *BloomFilterAlgorithm) bool (*BloomFilterAlgorithm) GetBLOCK() *SplitBlockAlgorithm (*BloomFilterAlgorithm) IsSetBLOCK() bool (*BloomFilterAlgorithm) LogValue() slog.Value (*BloomFilterAlgorithm) Read(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterAlgorithm) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterAlgorithm) String() string (*BloomFilterAlgorithm) Validate() error (*BloomFilterAlgorithm) Write(ctx context.Context, oprot thrift.TProtocol) error *BloomFilterAlgorithm : github.com/apache/thrift/lib/go/thrift.TStruct *BloomFilterAlgorithm : expvar.Var *BloomFilterAlgorithm : fmt.Stringer *BloomFilterAlgorithm : log/slog.LogValuer func NewBloomFilterAlgorithm() *BloomFilterAlgorithm func (*BloomFilterHeader).GetAlgorithm() *BloomFilterAlgorithm func (*BloomFilterAlgorithm).Equals(other *BloomFilterAlgorithm) bool var BloomFilterHeader_Algorithm_DEFAULT *BloomFilterAlgorithm
Attributes: - UNCOMPRESSED UNCOMPRESSED *Uncompressed (*BloomFilterCompression) CountSetFieldsBloomFilterCompression() int (*BloomFilterCompression) Equals(other *BloomFilterCompression) bool (*BloomFilterCompression) GetUNCOMPRESSED() *Uncompressed (*BloomFilterCompression) IsSetUNCOMPRESSED() bool (*BloomFilterCompression) LogValue() slog.Value (*BloomFilterCompression) Read(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterCompression) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterCompression) String() string (*BloomFilterCompression) Validate() error (*BloomFilterCompression) Write(ctx context.Context, oprot thrift.TProtocol) error *BloomFilterCompression : github.com/apache/thrift/lib/go/thrift.TStruct *BloomFilterCompression : expvar.Var *BloomFilterCompression : fmt.Stringer *BloomFilterCompression : log/slog.LogValuer func NewBloomFilterCompression() *BloomFilterCompression func (*BloomFilterHeader).GetCompression() *BloomFilterCompression func (*BloomFilterCompression).Equals(other *BloomFilterCompression) bool var BloomFilterHeader_Compression_DEFAULT *BloomFilterCompression
The hash function used in Bloom filter. This function takes the hash of a column value using plain encoding. Attributes: - XXHASH: xxHash Strategy. * XXHASH *XxHash (*BloomFilterHash) CountSetFieldsBloomFilterHash() int (*BloomFilterHash) Equals(other *BloomFilterHash) bool (*BloomFilterHash) GetXXHASH() *XxHash (*BloomFilterHash) IsSetXXHASH() bool (*BloomFilterHash) LogValue() slog.Value (*BloomFilterHash) Read(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterHash) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterHash) String() string (*BloomFilterHash) Validate() error (*BloomFilterHash) Write(ctx context.Context, oprot thrift.TProtocol) error *BloomFilterHash : github.com/apache/thrift/lib/go/thrift.TStruct *BloomFilterHash : expvar.Var *BloomFilterHash : fmt.Stringer *BloomFilterHash : log/slog.LogValuer func NewBloomFilterHash() *BloomFilterHash func (*BloomFilterHeader).GetHash() *BloomFilterHash func (*BloomFilterHash).Equals(other *BloomFilterHash) bool var BloomFilterHeader_Hash_DEFAULT *BloomFilterHash
Bloom filter header is stored at beginning of Bloom filter data of each column and followed by its bitset. Attributes: - NumBytes: The size of bitset in bytes * - Algorithm: The algorithm for setting bits. * - Hash: The hash function used for Bloom filter. * - Compression: The compression used in the Bloom filter * Algorithm *BloomFilterAlgorithm Compression *BloomFilterCompression Hash *BloomFilterHash NumBytes int32 (*BloomFilterHeader) Equals(other *BloomFilterHeader) bool (*BloomFilterHeader) GetAlgorithm() *BloomFilterAlgorithm (*BloomFilterHeader) GetCompression() *BloomFilterCompression (*BloomFilterHeader) GetHash() *BloomFilterHash (*BloomFilterHeader) GetNumBytes() int32 (*BloomFilterHeader) IsSetAlgorithm() bool (*BloomFilterHeader) IsSetCompression() bool (*BloomFilterHeader) IsSetHash() bool (*BloomFilterHeader) LogValue() slog.Value (*BloomFilterHeader) Read(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterHeader) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterHeader) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterHeader) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterHeader) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*BloomFilterHeader) String() string (*BloomFilterHeader) Validate() error (*BloomFilterHeader) Write(ctx context.Context, oprot thrift.TProtocol) error *BloomFilterHeader : github.com/apache/thrift/lib/go/thrift.TStruct *BloomFilterHeader : expvar.Var *BloomFilterHeader : fmt.Stringer *BloomFilterHeader : log/slog.LogValuer func NewBloomFilterHeader() *BloomFilterHeader func (*BloomFilterHeader).Equals(other *BloomFilterHeader) bool
Enum to annotate whether lists of min/max elements inside ColumnIndex are ordered and if so, in which direction. ( BoundaryOrder) MarshalText() ([]byte, error) (*BoundaryOrder) Scan(value interface{}) error ( BoundaryOrder) String() string (*BoundaryOrder) UnmarshalText(text []byte) error (*BoundaryOrder) Value() (driver.Value, error) *BoundaryOrder : database/sql.Scanner *BoundaryOrder : database/sql/driver.Valuer BoundaryOrder : encoding.TextMarshaler *BoundaryOrder : encoding.TextUnmarshaler BoundaryOrder : expvar.Var BoundaryOrder : fmt.Stringer func BoundaryOrderFromString(s string) (BoundaryOrder, error) func BoundaryOrderPtr(v BoundaryOrder) *BoundaryOrder func (*ColumnIndex).GetBoundaryOrder() BoundaryOrder func BoundaryOrderPtr(v BoundaryOrder) *BoundaryOrder const BoundaryOrder_ASCENDING const BoundaryOrder_DESCENDING const BoundaryOrder_UNORDERED
Bounding box for GEOMETRY or GEOGRAPHY type in the representation of min/max value pair of coordinates from each axis. Attributes: - Xmin - Xmax - Ymin - Ymax - Zmin - Zmax - Mmin - Mmax Mmax *float64 Mmin *float64 Xmax float64 Xmin float64 Ymax float64 Ymin float64 Zmax *float64 Zmin *float64 (*BoundingBox) Equals(other *BoundingBox) bool (*BoundingBox) GetMmax() float64 (*BoundingBox) GetMmin() float64 (*BoundingBox) GetXmax() float64 (*BoundingBox) GetXmin() float64 (*BoundingBox) GetYmax() float64 (*BoundingBox) GetYmin() float64 (*BoundingBox) GetZmax() float64 (*BoundingBox) GetZmin() float64 (*BoundingBox) IsSetMmax() bool (*BoundingBox) IsSetMmin() bool (*BoundingBox) IsSetZmax() bool (*BoundingBox) IsSetZmin() bool (*BoundingBox) LogValue() slog.Value (*BoundingBox) Read(ctx context.Context, iprot thrift.TProtocol) error (*BoundingBox) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*BoundingBox) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*BoundingBox) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*BoundingBox) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*BoundingBox) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*BoundingBox) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*BoundingBox) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*BoundingBox) ReadField8(ctx context.Context, iprot thrift.TProtocol) error (*BoundingBox) String() string (*BoundingBox) Validate() error (*BoundingBox) Write(ctx context.Context, oprot thrift.TProtocol) error *BoundingBox : github.com/apache/thrift/lib/go/thrift.TStruct *BoundingBox : expvar.Var *BoundingBox : fmt.Stringer *BoundingBox : log/slog.LogValuer func NewBoundingBox() *BoundingBox func (*GeospatialStatistics).GetBbox() *BoundingBox func (*BoundingBox).Equals(other *BoundingBox) bool var GeospatialStatistics_Bbox_DEFAULT *BoundingBox
Embedded BSON logical type annotation Allowed for physical types: BYTE_ARRAY (*BsonType) Equals(other *BsonType) bool (*BsonType) LogValue() slog.Value (*BsonType) Read(ctx context.Context, iprot thrift.TProtocol) error (*BsonType) String() string (*BsonType) Validate() error (*BsonType) Write(ctx context.Context, oprot thrift.TProtocol) error *BsonType : github.com/apache/thrift/lib/go/thrift.TStruct *BsonType : expvar.Var *BsonType : fmt.Stringer *BsonType : log/slog.LogValuer func NewBsonType() *BsonType func (*LogicalType).GetBSON() *BsonType func (*BsonType).Equals(other *BsonType) bool var LogicalType_BSON_DEFAULT *BsonType
Attributes: - FilePath: File where column data is stored. If not set, assumed to be same file as metadata. This path is relative to the current file. - FileOffset: Deprecated: Byte offset in file_path to the ColumnMetaData Past use of this field has been inconsistent, with some implementations using it to point to the ColumnMetaData and some using it to point to the first page in the column chunk. In many cases, the ColumnMetaData at this location is wrong. This field is now deprecated and should not be used. Writers should set this field to 0 if no ColumnMetaData has been written outside the footer. - MetaData: Column metadata for this chunk. Some writers may also replicate this at the location pointed to by file_path/file_offset. Note: while marked as optional, this field is in fact required by most major Parquet implementations. As such, writers MUST populate this field. - OffsetIndexOffset: File offset of ColumnChunk's OffsetIndex * - OffsetIndexLength: Size of ColumnChunk's OffsetIndex, in bytes * - ColumnIndexOffset: File offset of ColumnChunk's ColumnIndex * - ColumnIndexLength: Size of ColumnChunk's ColumnIndex, in bytes * - CryptoMetadata: Crypto metadata of encrypted columns * - EncryptedColumnMetadata: Encrypted column metadata for this chunk * ColumnIndexLength *int32 ColumnIndexOffset *int64 CryptoMetadata *ColumnCryptoMetaData EncryptedColumnMetadata []byte FileOffset int64 FilePath *string MetaData *ColumnMetaData OffsetIndexLength *int32 OffsetIndexOffset *int64 (*ColumnChunk) Equals(other *ColumnChunk) bool (*ColumnChunk) GetColumnIndexLength() int32 (*ColumnChunk) GetColumnIndexOffset() int64 (*ColumnChunk) GetCryptoMetadata() *ColumnCryptoMetaData (*ColumnChunk) GetEncryptedColumnMetadata() []byte (*ColumnChunk) GetFileOffset() int64 (*ColumnChunk) GetFilePath() string (*ColumnChunk) GetMetaData() *ColumnMetaData (*ColumnChunk) GetOffsetIndexLength() int32 (*ColumnChunk) GetOffsetIndexOffset() int64 (*ColumnChunk) IsSetColumnIndexLength() bool (*ColumnChunk) IsSetColumnIndexOffset() bool (*ColumnChunk) IsSetCryptoMetadata() bool (*ColumnChunk) IsSetEncryptedColumnMetadata() bool (*ColumnChunk) IsSetFilePath() bool (*ColumnChunk) IsSetMetaData() bool (*ColumnChunk) IsSetOffsetIndexLength() bool (*ColumnChunk) IsSetOffsetIndexOffset() bool (*ColumnChunk) LogValue() slog.Value (*ColumnChunk) Read(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) ReadField8(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) ReadField9(ctx context.Context, iprot thrift.TProtocol) error (*ColumnChunk) String() string (*ColumnChunk) Validate() error (*ColumnChunk) Write(ctx context.Context, oprot thrift.TProtocol) error *ColumnChunk : github.com/apache/thrift/lib/go/thrift.TStruct *ColumnChunk : expvar.Var *ColumnChunk : fmt.Stringer *ColumnChunk : log/slog.LogValuer func NewColumnChunk() *ColumnChunk func (*RowGroup).GetColumns() []*ColumnChunk func (*ColumnChunk).Equals(other *ColumnChunk) bool
Attributes: - ENCRYPTION_WITH_FOOTER_KEY - ENCRYPTION_WITH_COLUMN_KEY ENCRYPTION_WITH_COLUMN_KEY *EncryptionWithColumnKey ENCRYPTION_WITH_FOOTER_KEY *EncryptionWithFooterKey (*ColumnCryptoMetaData) CountSetFieldsColumnCryptoMetaData() int (*ColumnCryptoMetaData) Equals(other *ColumnCryptoMetaData) bool (*ColumnCryptoMetaData) GetENCRYPTION_WITH_COLUMN_KEY() *EncryptionWithColumnKey (*ColumnCryptoMetaData) GetENCRYPTION_WITH_FOOTER_KEY() *EncryptionWithFooterKey (*ColumnCryptoMetaData) IsSetENCRYPTION_WITH_COLUMN_KEY() bool (*ColumnCryptoMetaData) IsSetENCRYPTION_WITH_FOOTER_KEY() bool (*ColumnCryptoMetaData) LogValue() slog.Value (*ColumnCryptoMetaData) Read(ctx context.Context, iprot thrift.TProtocol) error (*ColumnCryptoMetaData) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*ColumnCryptoMetaData) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*ColumnCryptoMetaData) String() string (*ColumnCryptoMetaData) Validate() error (*ColumnCryptoMetaData) Write(ctx context.Context, oprot thrift.TProtocol) error *ColumnCryptoMetaData : github.com/apache/thrift/lib/go/thrift.TStruct *ColumnCryptoMetaData : expvar.Var *ColumnCryptoMetaData : fmt.Stringer *ColumnCryptoMetaData : log/slog.LogValuer func NewColumnCryptoMetaData() *ColumnCryptoMetaData func (*ColumnChunk).GetCryptoMetadata() *ColumnCryptoMetaData func (*ColumnCryptoMetaData).Equals(other *ColumnCryptoMetaData) bool var ColumnChunk_CryptoMetadata_DEFAULT *ColumnCryptoMetaData
Optional statistics for each data page in a ColumnChunk. Forms part the page index, along with OffsetIndex. If this structure is present, OffsetIndex must also be present. For each field in this structure, <field>[i] refers to the page at OffsetIndex.page_locations[i] Attributes: - NullPages: A list of Boolean values to determine the validity of the corresponding min and max values. If true, a page contains only null values, and writers have to set the corresponding entries in min_values and max_values to byte[0], so that all lists have the same length. If false, the corresponding entries in min_values and max_values must be valid. - MinValues: Two lists containing lower and upper bounds for the values of each page determined by the ColumnOrder of the column. These may be the actual minimum and maximum values found on a page, but can also be (more compact) values that do not exist on a page. For example, instead of storing ""Blart Versenwald III", a writer may set min_values[i]="B", max_values[i]="C". Such more compact values must still be valid values within the column's logical type. Readers must make sure that list entries are populated before using them by inspecting null_pages. - MaxValues - BoundaryOrder: Stores whether both min_values and max_values are ordered and if so, in which direction. This allows readers to perform binary searches in both lists. Readers cannot assume that max_values[i] <= min_values[i+1], even if the lists are ordered. - NullCounts: A list containing the number of null values for each page Writers SHOULD always write this field even if no null values are present or the column is not nullable. Readers MUST distinguish between null_counts not being present and null_count being 0. If null_counts are not present, readers MUST NOT assume all null counts are 0. - RepetitionLevelHistograms: Contains repetition level histograms for each page concatenated together. The repetition_level_histogram field on SizeStatistics contains more details. When present the length should always be (number of pages * (max_repetition_level + 1)) elements. Element 0 is the first element of the histogram for the first page. Element (max_repetition_level + 1) is the first element of the histogram for the second page. - DefinitionLevelHistograms: Same as repetition_level_histograms except for definitions levels. BoundaryOrder BoundaryOrder DefinitionLevelHistograms []int64 MaxValues [][]byte MinValues [][]byte NullCounts []int64 NullPages []bool RepetitionLevelHistograms []int64 (*ColumnIndex) Equals(other *ColumnIndex) bool (*ColumnIndex) GetBoundaryOrder() BoundaryOrder (*ColumnIndex) GetDefinitionLevelHistograms() []int64 (*ColumnIndex) GetMaxValues() [][]byte (*ColumnIndex) GetMinValues() [][]byte (*ColumnIndex) GetNullCounts() []int64 (*ColumnIndex) GetNullPages() []bool (*ColumnIndex) GetRepetitionLevelHistograms() []int64 (*ColumnIndex) IsSetDefinitionLevelHistograms() bool (*ColumnIndex) IsSetNullCounts() bool (*ColumnIndex) IsSetRepetitionLevelHistograms() bool (*ColumnIndex) LogValue() slog.Value (*ColumnIndex) Read(ctx context.Context, iprot thrift.TProtocol) error (*ColumnIndex) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*ColumnIndex) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*ColumnIndex) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*ColumnIndex) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*ColumnIndex) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*ColumnIndex) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*ColumnIndex) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*ColumnIndex) String() string (*ColumnIndex) Validate() error (*ColumnIndex) Write(ctx context.Context, oprot thrift.TProtocol) error *ColumnIndex : github.com/apache/thrift/lib/go/thrift.TStruct *ColumnIndex : expvar.Var *ColumnIndex : fmt.Stringer *ColumnIndex : log/slog.LogValuer func NewColumnIndex() *ColumnIndex func (*ColumnIndex).Equals(other *ColumnIndex) bool
Description for column metadata Attributes: - Type: Type of this column * - Encodings: Set of all encodings used for this column. The purpose is to validate whether we can decode those pages. * - PathInSchema: Path in schema * - Codec: Compression codec * - NumValues: Number of values in this column * - TotalUncompressedSize: total byte size of all uncompressed pages in this column chunk (including the headers) * - TotalCompressedSize: total byte size of all compressed, and potentially encrypted, pages in this column chunk (including the headers) * - KeyValueMetadata: Optional key/value metadata * - DataPageOffset: Byte offset from beginning of file to first data page * - IndexPageOffset: Byte offset from beginning of file to root index page * - DictionaryPageOffset: Byte offset from the beginning of file to first (only) dictionary page * - Statistics: optional statistics for this column chunk - EncodingStats: Set of all encodings used for pages in this column chunk. This information can be used to determine if all data pages are dictionary encoded for example * - BloomFilterOffset: Byte offset from beginning of file to Bloom filter data. * - BloomFilterLength: Size of Bloom filter data including the serialized header, in bytes. Added in 2.10 so readers may not read this field from old files and it can be obtained after the BloomFilterHeader has been deserialized. Writers should write this field so readers can read the bloom filter in a single I/O. - SizeStatistics: Optional statistics to help estimate total memory when converted to in-memory representations. The histograms contained in these statistics can also be useful in some cases for more fine-grained nullability/list length filter pushdown. - GeospatialStatistics: Optional statistics specific for Geometry and Geography logical types BloomFilterLength *int32 BloomFilterOffset *int64 Codec CompressionCodec DataPageOffset int64 DictionaryPageOffset *int64 EncodingStats []*PageEncodingStats Encodings []Encoding GeospatialStatistics *GeospatialStatistics IndexPageOffset *int64 KeyValueMetadata []*KeyValue NumValues int64 PathInSchema []string SizeStatistics *SizeStatistics Statistics *Statistics TotalCompressedSize int64 TotalUncompressedSize int64 Type Type (*ColumnMetaData) Equals(other *ColumnMetaData) bool (*ColumnMetaData) GetBloomFilterLength() int32 (*ColumnMetaData) GetBloomFilterOffset() int64 (*ColumnMetaData) GetCodec() CompressionCodec (*ColumnMetaData) GetDataPageOffset() int64 (*ColumnMetaData) GetDictionaryPageOffset() int64 (*ColumnMetaData) GetEncodingStats() []*PageEncodingStats (*ColumnMetaData) GetEncodings() []Encoding (*ColumnMetaData) GetGeospatialStatistics() *GeospatialStatistics (*ColumnMetaData) GetIndexPageOffset() int64 (*ColumnMetaData) GetKeyValueMetadata() []*KeyValue (*ColumnMetaData) GetNumValues() int64 (*ColumnMetaData) GetPathInSchema() []string (*ColumnMetaData) GetSizeStatistics() *SizeStatistics (*ColumnMetaData) GetStatistics() *Statistics (*ColumnMetaData) GetTotalCompressedSize() int64 (*ColumnMetaData) GetTotalUncompressedSize() int64 (*ColumnMetaData) GetType() Type (*ColumnMetaData) IsSetBloomFilterLength() bool (*ColumnMetaData) IsSetBloomFilterOffset() bool (*ColumnMetaData) IsSetDictionaryPageOffset() bool (*ColumnMetaData) IsSetEncodingStats() bool (*ColumnMetaData) IsSetGeospatialStatistics() bool (*ColumnMetaData) IsSetIndexPageOffset() bool (*ColumnMetaData) IsSetKeyValueMetadata() bool (*ColumnMetaData) IsSetSizeStatistics() bool (*ColumnMetaData) IsSetStatistics() bool (*ColumnMetaData) LogValue() slog.Value (*ColumnMetaData) Read(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField10(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField11(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField12(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField13(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField14(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField15(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField16(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField17(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField8(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) ReadField9(ctx context.Context, iprot thrift.TProtocol) error (*ColumnMetaData) String() string (*ColumnMetaData) Validate() error (*ColumnMetaData) Write(ctx context.Context, oprot thrift.TProtocol) error *ColumnMetaData : github.com/apache/thrift/lib/go/thrift.TStruct *ColumnMetaData : expvar.Var *ColumnMetaData : fmt.Stringer *ColumnMetaData : log/slog.LogValuer func NewColumnMetaData() *ColumnMetaData func (*ColumnChunk).GetMetaData() *ColumnMetaData func (*ColumnMetaData).Equals(other *ColumnMetaData) bool var ColumnChunk_MetaData_DEFAULT *ColumnMetaData
Union to specify the order used for the min_value and max_value fields for a column. This union takes the role of an enhanced enum that allows rich elements (which will be needed for a collation-based ordering in the future). Possible values are: * TypeDefinedOrder - the column uses the order defined by its logical or physical type (if there is no logical type). If the reader does not support the value of this union, min and max stats for this column should be ignored. Attributes: - TYPE_ORDER: The sort orders for logical types are: UTF8 - unsigned byte-wise comparison INT8 - signed comparison INT16 - signed comparison INT32 - signed comparison INT64 - signed comparison UINT8 - unsigned comparison UINT16 - unsigned comparison UINT32 - unsigned comparison UINT64 - unsigned comparison DECIMAL - signed comparison of the represented value DATE - signed comparison TIME_MILLIS - signed comparison TIME_MICROS - signed comparison TIMESTAMP_MILLIS - signed comparison TIMESTAMP_MICROS - signed comparison INTERVAL - undefined JSON - unsigned byte-wise comparison BSON - unsigned byte-wise comparison ENUM - unsigned byte-wise comparison LIST - undefined MAP - undefined VARIANT - undefined GEOMETRY - undefined GEOGRAPHY - undefined In the absence of logical types, the sort order is determined by the physical type: BOOLEAN - false, true INT32 - signed comparison INT64 - signed comparison INT96 (only used for legacy timestamps) - undefined FLOAT - signed comparison of the represented value (*) DOUBLE - signed comparison of the represented value (*) BYTE_ARRAY - unsigned byte-wise comparison FIXED_LEN_BYTE_ARRAY - unsigned byte-wise comparison (*) Because the sorting order is not specified properly for floating point values (relations vs. total ordering) the following compatibility rules should be applied when reading statistics: - If the min is a NaN, it should be ignored. - If the max is a NaN, it should be ignored. - If the min is +0, the row group may contain -0 values as well. - If the max is -0, the row group may contain +0 values as well. - When looking for NaN values, min and max should be ignored. When writing statistics the following rules should be followed: - NaNs should not be written to min or max statistics fields. - If the computed max value is zero (whether negative or positive), `+0.0` should be written into the max statistics field. - If the computed min value is zero (whether negative or positive), `-0.0` should be written into the min statistics field. TYPE_ORDER *TypeDefinedOrder (*ColumnOrder) CountSetFieldsColumnOrder() int (*ColumnOrder) Equals(other *ColumnOrder) bool (*ColumnOrder) GetTYPE_ORDER() *TypeDefinedOrder (*ColumnOrder) IsSetTYPE_ORDER() bool (*ColumnOrder) LogValue() slog.Value (*ColumnOrder) Read(ctx context.Context, iprot thrift.TProtocol) error (*ColumnOrder) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*ColumnOrder) String() string (*ColumnOrder) Validate() error (*ColumnOrder) Write(ctx context.Context, oprot thrift.TProtocol) error *ColumnOrder : github.com/apache/thrift/lib/go/thrift.TStruct *ColumnOrder : expvar.Var *ColumnOrder : fmt.Stringer *ColumnOrder : log/slog.LogValuer func NewColumnOrder() *ColumnOrder func (*FileMetaData).GetColumnOrders() []*ColumnOrder func (*ColumnOrder).Equals(other *ColumnOrder) bool
Supported compression algorithms. Codecs added in format version X.Y can be read by readers based on X.Y and later. Codec support may vary between readers based on the format version and libraries available at runtime. See Compression.md for a detailed specification of these algorithms. ( CompressionCodec) MarshalText() ([]byte, error) (*CompressionCodec) Scan(value interface{}) error ( CompressionCodec) String() string (*CompressionCodec) UnmarshalText(text []byte) error (*CompressionCodec) Value() (driver.Value, error) *CompressionCodec : database/sql.Scanner *CompressionCodec : database/sql/driver.Valuer CompressionCodec : encoding.TextMarshaler *CompressionCodec : encoding.TextUnmarshaler CompressionCodec : expvar.Var CompressionCodec : fmt.Stringer func CompressionCodecFromString(s string) (CompressionCodec, error) func CompressionCodecPtr(v CompressionCodec) *CompressionCodec func (*ColumnMetaData).GetCodec() CompressionCodec func CompressionCodecPtr(v CompressionCodec) *CompressionCodec const CompressionCodec_BROTLI const CompressionCodec_GZIP const CompressionCodec_LZ4 const CompressionCodec_LZ4_RAW const CompressionCodec_LZO const CompressionCodec_SNAPPY const CompressionCodec_UNCOMPRESSED const CompressionCodec_ZSTD
DEPRECATED: Common types used by frameworks(e.g. hive, pig) using parquet. ConvertedType is superseded by LogicalType. This enum should not be extended. See LogicalTypes.md for conversion between ConvertedType and LogicalType. ( ConvertedType) MarshalText() ([]byte, error) (*ConvertedType) Scan(value interface{}) error ( ConvertedType) String() string (*ConvertedType) UnmarshalText(text []byte) error (*ConvertedType) Value() (driver.Value, error) *ConvertedType : database/sql.Scanner *ConvertedType : database/sql/driver.Valuer ConvertedType : encoding.TextMarshaler *ConvertedType : encoding.TextUnmarshaler ConvertedType : expvar.Var ConvertedType : fmt.Stringer func ConvertedTypeFromString(s string) (ConvertedType, error) func ConvertedTypePtr(v ConvertedType) *ConvertedType func (*SchemaElement).GetConvertedType() ConvertedType func ConvertedTypePtr(v ConvertedType) *ConvertedType const ConvertedType_BSON const ConvertedType_DATE const ConvertedType_DECIMAL const ConvertedType_ENUM const ConvertedType_INT_16 const ConvertedType_INT_32 const ConvertedType_INT_64 const ConvertedType_INT_8 const ConvertedType_INTERVAL const ConvertedType_JSON const ConvertedType_LIST const ConvertedType_MAP const ConvertedType_MAP_KEY_VALUE const ConvertedType_TIME_MICROS const ConvertedType_TIME_MILLIS const ConvertedType_TIMESTAMP_MICROS const ConvertedType_TIMESTAMP_MILLIS const ConvertedType_UINT_16 const ConvertedType_UINT_32 const ConvertedType_UINT_64 const ConvertedType_UINT_8 const ConvertedType_UTF8 var SchemaElement_ConvertedType_DEFAULT
Data page header Attributes: - NumValues: Number of values, including NULLs, in this data page. If a OffsetIndex is present, a page must begin at a row boundary (repetition_level = 0). Otherwise, pages may begin within a row (repetition_level > 0). - Encoding: Encoding used for this data page * - DefinitionLevelEncoding: Encoding used for definition levels * - RepetitionLevelEncoding: Encoding used for repetition levels * - Statistics: Optional statistics for the data in this page * DefinitionLevelEncoding Encoding Encoding Encoding NumValues int32 RepetitionLevelEncoding Encoding Statistics *Statistics (*DataPageHeader) Equals(other *DataPageHeader) bool (*DataPageHeader) GetDefinitionLevelEncoding() Encoding (*DataPageHeader) GetEncoding() Encoding (*DataPageHeader) GetNumValues() int32 (*DataPageHeader) GetRepetitionLevelEncoding() Encoding (*DataPageHeader) GetStatistics() *Statistics (*DataPageHeader) IsSetStatistics() bool (*DataPageHeader) LogValue() slog.Value (*DataPageHeader) Read(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeader) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeader) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeader) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeader) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeader) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeader) String() string (*DataPageHeader) Validate() error (*DataPageHeader) Write(ctx context.Context, oprot thrift.TProtocol) error *DataPageHeader : github.com/apache/thrift/lib/go/thrift.TStruct *DataPageHeader : expvar.Var *DataPageHeader : fmt.Stringer *DataPageHeader : log/slog.LogValuer func NewDataPageHeader() *DataPageHeader func (*PageHeader).GetDataPageHeader() *DataPageHeader func (*DataPageHeader).Equals(other *DataPageHeader) bool var PageHeader_DataPageHeader_DEFAULT *DataPageHeader
New page format allowing reading levels without decompressing the data Repetition and definition levels are uncompressed The remaining section containing the data is compressed if is_compressed is true Attributes: - NumValues: Number of values, including NULLs, in this data page. * - NumNulls: Number of NULL values, in this data page. Number of non-null = num_values - num_nulls which is also the number of values in the data section * - NumRows: Number of rows in this data page. Every page must begin at a row boundary (repetition_level = 0): rows must **not** be split across page boundaries when using V2 data pages. - Encoding: Encoding used for data in this page * - DefinitionLevelsByteLength: Length of the definition levels - RepetitionLevelsByteLength: Length of the repetition levels - IsCompressed: Whether the values are compressed. Which means the section of the page between definition_levels_byte_length + repetition_levels_byte_length + 1 and compressed_page_size (included) is compressed with the compression_codec. If missing it is considered compressed - Statistics: Optional statistics for the data in this page * DefinitionLevelsByteLength int32 Encoding Encoding IsCompressed bool NumNulls int32 NumRows int32 NumValues int32 RepetitionLevelsByteLength int32 Statistics *Statistics (*DataPageHeaderV2) Equals(other *DataPageHeaderV2) bool (*DataPageHeaderV2) GetDefinitionLevelsByteLength() int32 (*DataPageHeaderV2) GetEncoding() Encoding (*DataPageHeaderV2) GetIsCompressed() bool (*DataPageHeaderV2) GetNumNulls() int32 (*DataPageHeaderV2) GetNumRows() int32 (*DataPageHeaderV2) GetNumValues() int32 (*DataPageHeaderV2) GetRepetitionLevelsByteLength() int32 (*DataPageHeaderV2) GetStatistics() *Statistics (*DataPageHeaderV2) IsSetIsCompressed() bool (*DataPageHeaderV2) IsSetStatistics() bool (*DataPageHeaderV2) LogValue() slog.Value (*DataPageHeaderV2) Read(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeaderV2) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeaderV2) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeaderV2) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeaderV2) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeaderV2) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeaderV2) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeaderV2) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeaderV2) ReadField8(ctx context.Context, iprot thrift.TProtocol) error (*DataPageHeaderV2) String() string (*DataPageHeaderV2) Validate() error (*DataPageHeaderV2) Write(ctx context.Context, oprot thrift.TProtocol) error *DataPageHeaderV2 : github.com/apache/thrift/lib/go/thrift.TStruct *DataPageHeaderV2 : expvar.Var *DataPageHeaderV2 : fmt.Stringer *DataPageHeaderV2 : log/slog.LogValuer func NewDataPageHeaderV2() *DataPageHeaderV2 func (*PageHeader).GetDataPageHeaderV2() *DataPageHeaderV2 func (*DataPageHeaderV2).Equals(other *DataPageHeaderV2) bool var PageHeader_DataPageHeaderV2_DEFAULT *DataPageHeaderV2
(*DateType) Equals(other *DateType) bool (*DateType) LogValue() slog.Value (*DateType) Read(ctx context.Context, iprot thrift.TProtocol) error (*DateType) String() string (*DateType) Validate() error (*DateType) Write(ctx context.Context, oprot thrift.TProtocol) error *DateType : github.com/apache/thrift/lib/go/thrift.TStruct *DateType : expvar.Var *DateType : fmt.Stringer *DateType : log/slog.LogValuer func NewDateType() *DateType func (*LogicalType).GetDATE() *DateType func (*DateType).Equals(other *DateType) bool var LogicalType_DATE_DEFAULT *DateType
Decimal logical type annotation Scale must be zero or a positive integer less than or equal to the precision. Precision must be a non-zero positive integer. To maintain forward-compatibility in v1, implementations using this logical type must also set scale and precision on the annotated SchemaElement. Allowed for physical types: INT32, INT64, FIXED_LEN_BYTE_ARRAY, and BYTE_ARRAY. Attributes: - Scale - Precision Precision int32 Scale int32 (*DecimalType) Equals(other *DecimalType) bool (*DecimalType) GetPrecision() int32 (*DecimalType) GetScale() int32 (*DecimalType) LogValue() slog.Value (*DecimalType) Read(ctx context.Context, iprot thrift.TProtocol) error (*DecimalType) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*DecimalType) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*DecimalType) String() string (*DecimalType) Validate() error (*DecimalType) Write(ctx context.Context, oprot thrift.TProtocol) error *DecimalType : github.com/apache/thrift/lib/go/thrift.TStruct *DecimalType : expvar.Var *DecimalType : fmt.Stringer *DecimalType : log/slog.LogValuer func NewDecimalType() *DecimalType func (*LogicalType).GetDECIMAL() *DecimalType func (*DecimalType).Equals(other *DecimalType) bool var LogicalType_DECIMAL_DEFAULT *DecimalType
The dictionary page must be placed at the first position of the column chunk if it is partly or completely dictionary encoded. At most one dictionary page can be placed in a column chunk. Attributes: - NumValues: Number of values in the dictionary * - Encoding: Encoding using this dictionary page * - IsSorted: If true, the entries in the dictionary are sorted in ascending order * Encoding Encoding IsSorted *bool NumValues int32 (*DictionaryPageHeader) Equals(other *DictionaryPageHeader) bool (*DictionaryPageHeader) GetEncoding() Encoding (*DictionaryPageHeader) GetIsSorted() bool (*DictionaryPageHeader) GetNumValues() int32 (*DictionaryPageHeader) IsSetIsSorted() bool (*DictionaryPageHeader) LogValue() slog.Value (*DictionaryPageHeader) Read(ctx context.Context, iprot thrift.TProtocol) error (*DictionaryPageHeader) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*DictionaryPageHeader) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*DictionaryPageHeader) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*DictionaryPageHeader) String() string (*DictionaryPageHeader) Validate() error (*DictionaryPageHeader) Write(ctx context.Context, oprot thrift.TProtocol) error *DictionaryPageHeader : github.com/apache/thrift/lib/go/thrift.TStruct *DictionaryPageHeader : expvar.Var *DictionaryPageHeader : fmt.Stringer *DictionaryPageHeader : log/slog.LogValuer func NewDictionaryPageHeader() *DictionaryPageHeader func (*PageHeader).GetDictionaryPageHeader() *DictionaryPageHeader func (*DictionaryPageHeader).Equals(other *DictionaryPageHeader) bool var PageHeader_DictionaryPageHeader_DEFAULT *DictionaryPageHeader
Edge interpolation algorithm for Geography logical type ( EdgeInterpolationAlgorithm) MarshalText() ([]byte, error) (*EdgeInterpolationAlgorithm) Scan(value interface{}) error ( EdgeInterpolationAlgorithm) String() string (*EdgeInterpolationAlgorithm) UnmarshalText(text []byte) error (*EdgeInterpolationAlgorithm) Value() (driver.Value, error) *EdgeInterpolationAlgorithm : database/sql.Scanner *EdgeInterpolationAlgorithm : database/sql/driver.Valuer EdgeInterpolationAlgorithm : encoding.TextMarshaler *EdgeInterpolationAlgorithm : encoding.TextUnmarshaler EdgeInterpolationAlgorithm : expvar.Var EdgeInterpolationAlgorithm : fmt.Stringer func EdgeInterpolationAlgorithmFromString(s string) (EdgeInterpolationAlgorithm, error) func EdgeInterpolationAlgorithmPtr(v EdgeInterpolationAlgorithm) *EdgeInterpolationAlgorithm func (*GeographyType).GetAlgorithm() EdgeInterpolationAlgorithm func EdgeInterpolationAlgorithmPtr(v EdgeInterpolationAlgorithm) *EdgeInterpolationAlgorithm const EdgeInterpolationAlgorithm_ANDOYER const EdgeInterpolationAlgorithm_KARNEY const EdgeInterpolationAlgorithm_SPHERICAL const EdgeInterpolationAlgorithm_THOMAS const EdgeInterpolationAlgorithm_VINCENTY var GeographyType_Algorithm_DEFAULT
Encodings supported by Parquet. Not all encodings are valid for all types. These enums are also used to specify the encoding of definition and repetition levels. See the accompanying doc for the details of the more complicated encodings. ( Encoding) MarshalText() ([]byte, error) (*Encoding) Scan(value interface{}) error ( Encoding) String() string (*Encoding) UnmarshalText(text []byte) error (*Encoding) Value() (driver.Value, error) *Encoding : database/sql.Scanner *Encoding : database/sql/driver.Valuer Encoding : encoding.TextMarshaler *Encoding : encoding.TextUnmarshaler Encoding : expvar.Var Encoding : fmt.Stringer func EncodingFromString(s string) (Encoding, error) func EncodingPtr(v Encoding) *Encoding func (*ColumnMetaData).GetEncodings() []Encoding func (*DataPageHeader).GetDefinitionLevelEncoding() Encoding func (*DataPageHeader).GetEncoding() Encoding func (*DataPageHeader).GetRepetitionLevelEncoding() Encoding func (*DataPageHeaderV2).GetEncoding() Encoding func (*DictionaryPageHeader).GetEncoding() Encoding func (*PageEncodingStats).GetEncoding() Encoding func EncodingPtr(v Encoding) *Encoding const Encoding_BIT_PACKED const Encoding_BYTE_STREAM_SPLIT const Encoding_DELTA_BINARY_PACKED const Encoding_DELTA_BYTE_ARRAY const Encoding_DELTA_LENGTH_BYTE_ARRAY const Encoding_PLAIN const Encoding_PLAIN_DICTIONARY const Encoding_RLE const Encoding_RLE_DICTIONARY
Attributes: - AES_GCM_V1 - AES_GCM_CTR_V1 AES_GCM_CTR_V1 *AesGcmCtrV1 AES_GCM_V1 *AesGcmV1 (*EncryptionAlgorithm) CountSetFieldsEncryptionAlgorithm() int (*EncryptionAlgorithm) Equals(other *EncryptionAlgorithm) bool (*EncryptionAlgorithm) GetAES_GCM_CTR_V1() *AesGcmCtrV1 (*EncryptionAlgorithm) GetAES_GCM_V1() *AesGcmV1 (*EncryptionAlgorithm) IsSetAES_GCM_CTR_V1() bool (*EncryptionAlgorithm) IsSetAES_GCM_V1() bool (*EncryptionAlgorithm) LogValue() slog.Value (*EncryptionAlgorithm) Read(ctx context.Context, iprot thrift.TProtocol) error (*EncryptionAlgorithm) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*EncryptionAlgorithm) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*EncryptionAlgorithm) String() string (*EncryptionAlgorithm) Validate() error (*EncryptionAlgorithm) Write(ctx context.Context, oprot thrift.TProtocol) error *EncryptionAlgorithm : github.com/apache/thrift/lib/go/thrift.TStruct *EncryptionAlgorithm : expvar.Var *EncryptionAlgorithm : fmt.Stringer *EncryptionAlgorithm : log/slog.LogValuer func NewEncryptionAlgorithm() *EncryptionAlgorithm func (*FileCryptoMetaData).GetEncryptionAlgorithm() *EncryptionAlgorithm func (*FileMetaData).GetEncryptionAlgorithm() *EncryptionAlgorithm func github.com/apache/arrow-go/v18/parquet.Algorithm.ToThrift() *EncryptionAlgorithm func (*EncryptionAlgorithm).Equals(other *EncryptionAlgorithm) bool func github.com/apache/arrow-go/v18/parquet.AlgorithmFromThrift(enc *EncryptionAlgorithm) (ret parquet.Algorithm) var FileCryptoMetaData_EncryptionAlgorithm_DEFAULT *EncryptionAlgorithm var FileMetaData_EncryptionAlgorithm_DEFAULT *EncryptionAlgorithm
Attributes: - PathInSchema: Column path in schema * - KeyMetadata: Retrieval metadata of column encryption key * KeyMetadata []byte PathInSchema []string (*EncryptionWithColumnKey) Equals(other *EncryptionWithColumnKey) bool (*EncryptionWithColumnKey) GetKeyMetadata() []byte (*EncryptionWithColumnKey) GetPathInSchema() []string (*EncryptionWithColumnKey) IsSetKeyMetadata() bool (*EncryptionWithColumnKey) LogValue() slog.Value (*EncryptionWithColumnKey) Read(ctx context.Context, iprot thrift.TProtocol) error (*EncryptionWithColumnKey) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*EncryptionWithColumnKey) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*EncryptionWithColumnKey) String() string (*EncryptionWithColumnKey) Validate() error (*EncryptionWithColumnKey) Write(ctx context.Context, oprot thrift.TProtocol) error *EncryptionWithColumnKey : github.com/apache/thrift/lib/go/thrift.TStruct *EncryptionWithColumnKey : expvar.Var *EncryptionWithColumnKey : fmt.Stringer *EncryptionWithColumnKey : log/slog.LogValuer func NewEncryptionWithColumnKey() *EncryptionWithColumnKey func (*ColumnCryptoMetaData).GetENCRYPTION_WITH_COLUMN_KEY() *EncryptionWithColumnKey func (*EncryptionWithColumnKey).Equals(other *EncryptionWithColumnKey) bool var ColumnCryptoMetaData_ENCRYPTION_WITH_COLUMN_KEY_DEFAULT *EncryptionWithColumnKey
(*EncryptionWithFooterKey) Equals(other *EncryptionWithFooterKey) bool (*EncryptionWithFooterKey) LogValue() slog.Value (*EncryptionWithFooterKey) Read(ctx context.Context, iprot thrift.TProtocol) error (*EncryptionWithFooterKey) String() string (*EncryptionWithFooterKey) Validate() error (*EncryptionWithFooterKey) Write(ctx context.Context, oprot thrift.TProtocol) error *EncryptionWithFooterKey : github.com/apache/thrift/lib/go/thrift.TStruct *EncryptionWithFooterKey : expvar.Var *EncryptionWithFooterKey : fmt.Stringer *EncryptionWithFooterKey : log/slog.LogValuer func NewEncryptionWithFooterKey() *EncryptionWithFooterKey func (*ColumnCryptoMetaData).GetENCRYPTION_WITH_FOOTER_KEY() *EncryptionWithFooterKey func (*EncryptionWithFooterKey).Equals(other *EncryptionWithFooterKey) bool var ColumnCryptoMetaData_ENCRYPTION_WITH_FOOTER_KEY_DEFAULT *EncryptionWithFooterKey
(*EnumType) Equals(other *EnumType) bool (*EnumType) LogValue() slog.Value (*EnumType) Read(ctx context.Context, iprot thrift.TProtocol) error (*EnumType) String() string (*EnumType) Validate() error (*EnumType) Write(ctx context.Context, oprot thrift.TProtocol) error *EnumType : github.com/apache/thrift/lib/go/thrift.TStruct *EnumType : expvar.Var *EnumType : fmt.Stringer *EnumType : log/slog.LogValuer func NewEnumType() *EnumType func (*LogicalType).GetENUM() *EnumType func (*EnumType).Equals(other *EnumType) bool var LogicalType_ENUM_DEFAULT *EnumType
Representation of Schemas ( FieldRepetitionType) MarshalText() ([]byte, error) (*FieldRepetitionType) Scan(value interface{}) error ( FieldRepetitionType) String() string (*FieldRepetitionType) UnmarshalText(text []byte) error (*FieldRepetitionType) Value() (driver.Value, error) *FieldRepetitionType : database/sql.Scanner *FieldRepetitionType : database/sql/driver.Valuer FieldRepetitionType : encoding.TextMarshaler *FieldRepetitionType : encoding.TextUnmarshaler FieldRepetitionType : expvar.Var FieldRepetitionType : fmt.Stringer func FieldRepetitionTypeFromString(s string) (FieldRepetitionType, error) func FieldRepetitionTypePtr(v FieldRepetitionType) *FieldRepetitionType func (*SchemaElement).GetRepetitionType() FieldRepetitionType func FieldRepetitionTypePtr(v FieldRepetitionType) *FieldRepetitionType const FieldRepetitionType_OPTIONAL const FieldRepetitionType_REPEATED const FieldRepetitionType_REQUIRED var SchemaElement_RepetitionType_DEFAULT
Crypto metadata for files with encrypted footer * Attributes: - EncryptionAlgorithm: Encryption algorithm. This field is only used for files with encrypted footer. Files with plaintext footer store algorithm id inside footer (FileMetaData structure). - KeyMetadata: Retrieval metadata of key used for encryption of footer, and (possibly) columns * EncryptionAlgorithm *EncryptionAlgorithm KeyMetadata []byte (*FileCryptoMetaData) Equals(other *FileCryptoMetaData) bool (*FileCryptoMetaData) GetEncryptionAlgorithm() *EncryptionAlgorithm (*FileCryptoMetaData) GetKeyMetadata() []byte (*FileCryptoMetaData) IsSetEncryptionAlgorithm() bool (*FileCryptoMetaData) IsSetKeyMetadata() bool (*FileCryptoMetaData) LogValue() slog.Value (*FileCryptoMetaData) Read(ctx context.Context, iprot thrift.TProtocol) error (*FileCryptoMetaData) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*FileCryptoMetaData) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*FileCryptoMetaData) String() string (*FileCryptoMetaData) Validate() error (*FileCryptoMetaData) Write(ctx context.Context, oprot thrift.TProtocol) error *FileCryptoMetaData : github.com/apache/thrift/lib/go/thrift.TStruct *FileCryptoMetaData : expvar.Var *FileCryptoMetaData : fmt.Stringer *FileCryptoMetaData : log/slog.LogValuer func NewFileCryptoMetaData() *FileCryptoMetaData func (*FileCryptoMetaData).Equals(other *FileCryptoMetaData) bool
Description for file metadata Attributes: - Version: Version of this file * - Schema: Parquet schema for this file. This schema contains metadata for all the columns. The schema is represented as a tree with a single root. The nodes of the tree are flattened to a list by doing a depth-first traversal. The column metadata contains the path in the schema for that column which can be used to map columns to nodes in the schema. The first element is the root * - NumRows: Number of rows in this file * - RowGroups: Row groups in this file * - KeyValueMetadata: Optional key/value metadata * - CreatedBy: String for application that wrote this file. This should be in the format <Application> version <App Version> (build <App Build Hash>). e.g. impala version 1.0 (build 6cf94d29b2b7115df4de2c06e2ab4326d721eb55) - ColumnOrders: Sort order used for the min_value and max_value fields in the Statistics objects and the min_values and max_values fields in the ColumnIndex objects of each column in this file. Sort orders are listed in the order matching the columns in the schema. The indexes are not necessary the same though, because only leaf nodes of the schema are represented in the list of sort orders. Without column_orders, the meaning of the min_value and max_value fields in the Statistics object and the ColumnIndex object is undefined. To ensure well-defined behaviour, if these fields are written to a Parquet file, column_orders must be written as well. The obsolete min and max fields in the Statistics object are always sorted by signed comparison regardless of column_orders. - EncryptionAlgorithm: Encryption algorithm. This field is set only in encrypted files with plaintext footer. Files with encrypted footer store algorithm id in FileCryptoMetaData structure. - FooterSigningKeyMetadata: Retrieval metadata of key used for signing the footer. Used only in encrypted files with plaintext footer. ColumnOrders []*ColumnOrder CreatedBy *string EncryptionAlgorithm *EncryptionAlgorithm FooterSigningKeyMetadata []byte KeyValueMetadata []*KeyValue NumRows int64 RowGroups []*RowGroup Schema []*SchemaElement Version int32 (*FileMetaData) Equals(other *FileMetaData) bool (*FileMetaData) GetColumnOrders() []*ColumnOrder (*FileMetaData) GetCreatedBy() string (*FileMetaData) GetEncryptionAlgorithm() *EncryptionAlgorithm (*FileMetaData) GetFooterSigningKeyMetadata() []byte (*FileMetaData) GetKeyValueMetadata() []*KeyValue (*FileMetaData) GetNumRows() int64 (*FileMetaData) GetRowGroups() []*RowGroup (*FileMetaData) GetSchema() []*SchemaElement (*FileMetaData) GetVersion() int32 (*FileMetaData) IsSetColumnOrders() bool (*FileMetaData) IsSetCreatedBy() bool (*FileMetaData) IsSetEncryptionAlgorithm() bool (*FileMetaData) IsSetFooterSigningKeyMetadata() bool (*FileMetaData) IsSetKeyValueMetadata() bool (*FileMetaData) LogValue() slog.Value (*FileMetaData) Read(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) ReadField8(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) ReadField9(ctx context.Context, iprot thrift.TProtocol) error (*FileMetaData) String() string (*FileMetaData) Validate() error (*FileMetaData) Write(ctx context.Context, oprot thrift.TProtocol) error *FileMetaData : github.com/apache/thrift/lib/go/thrift.TStruct *FileMetaData : expvar.Var *FileMetaData : fmt.Stringer *FileMetaData : log/slog.LogValuer func NewFileMetaData() *FileMetaData func (*FileMetaData).Equals(other *FileMetaData) bool
(*Float16Type) Equals(other *Float16Type) bool (*Float16Type) LogValue() slog.Value (*Float16Type) Read(ctx context.Context, iprot thrift.TProtocol) error (*Float16Type) String() string (*Float16Type) Validate() error (*Float16Type) Write(ctx context.Context, oprot thrift.TProtocol) error *Float16Type : github.com/apache/thrift/lib/go/thrift.TStruct *Float16Type : expvar.Var *Float16Type : fmt.Stringer *Float16Type : log/slog.LogValuer func NewFloat16Type() *Float16Type func (*LogicalType).GetFLOAT16() *Float16Type func (*Float16Type).Equals(other *Float16Type) bool var LogicalType_FLOAT16_DEFAULT *Float16Type
Embedded Geography logical type annotation Geospatial features in the WKB format with an explicit (non-linear/non-planar) edges interpolation algorithm. A custom geographic CRS can be set by the crs field, where longitudes are bound by [-180, 180] and latitudes are bound by [-90, 90]. If unset, the CRS defaults to "OGC:CRS84". An optional algorithm can be set to correctly interpret edges interpolation of the geometries. If unset, the algorithm defaults to SPHERICAL. Allowed for physical type: BYTE_ARRAY. See Geospatial.md for details. Attributes: - Crs - Algorithm Algorithm *EdgeInterpolationAlgorithm Crs *string (*GeographyType) Equals(other *GeographyType) bool (*GeographyType) GetAlgorithm() EdgeInterpolationAlgorithm (*GeographyType) GetCrs() string (*GeographyType) IsSetAlgorithm() bool (*GeographyType) IsSetCrs() bool (*GeographyType) LogValue() slog.Value (*GeographyType) Read(ctx context.Context, iprot thrift.TProtocol) error (*GeographyType) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*GeographyType) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*GeographyType) String() string (*GeographyType) Validate() error (*GeographyType) Write(ctx context.Context, oprot thrift.TProtocol) error *GeographyType : github.com/apache/thrift/lib/go/thrift.TStruct *GeographyType : expvar.Var *GeographyType : fmt.Stringer *GeographyType : log/slog.LogValuer func NewGeographyType() *GeographyType func (*LogicalType).GetGEOGRAPHY() *GeographyType func (*GeographyType).Equals(other *GeographyType) bool var LogicalType_GEOGRAPHY_DEFAULT *GeographyType
Embedded Geometry logical type annotation Geospatial features in the Well-Known Binary (WKB) format and edges interpolation is always linear/planar. A custom CRS can be set by the crs field. If unset, it defaults to "OGC:CRS84", which means that the geometries must be stored in longitude, latitude based on the WGS84 datum. Allowed for physical type: BYTE_ARRAY. See Geospatial.md for details. Attributes: - Crs Crs *string (*GeometryType) Equals(other *GeometryType) bool (*GeometryType) GetCrs() string (*GeometryType) IsSetCrs() bool (*GeometryType) LogValue() slog.Value (*GeometryType) Read(ctx context.Context, iprot thrift.TProtocol) error (*GeometryType) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*GeometryType) String() string (*GeometryType) Validate() error (*GeometryType) Write(ctx context.Context, oprot thrift.TProtocol) error *GeometryType : github.com/apache/thrift/lib/go/thrift.TStruct *GeometryType : expvar.Var *GeometryType : fmt.Stringer *GeometryType : log/slog.LogValuer func NewGeometryType() *GeometryType func (*LogicalType).GetGEOMETRY() *GeometryType func (*GeometryType).Equals(other *GeometryType) bool var LogicalType_GEOMETRY_DEFAULT *GeometryType
Statistics specific to Geometry and Geography logical types Attributes: - Bbox: A bounding box of geospatial instances - GeospatialTypes: Geospatial type codes of all instances, or an empty list if not known Bbox *BoundingBox GeospatialTypes []int32 (*GeospatialStatistics) Equals(other *GeospatialStatistics) bool (*GeospatialStatistics) GetBbox() *BoundingBox (*GeospatialStatistics) GetGeospatialTypes() []int32 (*GeospatialStatistics) IsSetBbox() bool (*GeospatialStatistics) IsSetGeospatialTypes() bool (*GeospatialStatistics) LogValue() slog.Value (*GeospatialStatistics) Read(ctx context.Context, iprot thrift.TProtocol) error (*GeospatialStatistics) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*GeospatialStatistics) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*GeospatialStatistics) String() string (*GeospatialStatistics) Validate() error (*GeospatialStatistics) Write(ctx context.Context, oprot thrift.TProtocol) error *GeospatialStatistics : github.com/apache/thrift/lib/go/thrift.TStruct *GeospatialStatistics : expvar.Var *GeospatialStatistics : fmt.Stringer *GeospatialStatistics : log/slog.LogValuer func NewGeospatialStatistics() *GeospatialStatistics func (*ColumnMetaData).GetGeospatialStatistics() *GeospatialStatistics func (*GeospatialStatistics).Equals(other *GeospatialStatistics) bool var ColumnMetaData_GeospatialStatistics_DEFAULT *GeospatialStatistics
(*IndexPageHeader) Equals(other *IndexPageHeader) bool (*IndexPageHeader) LogValue() slog.Value (*IndexPageHeader) Read(ctx context.Context, iprot thrift.TProtocol) error (*IndexPageHeader) String() string (*IndexPageHeader) Validate() error (*IndexPageHeader) Write(ctx context.Context, oprot thrift.TProtocol) error *IndexPageHeader : github.com/apache/thrift/lib/go/thrift.TStruct *IndexPageHeader : expvar.Var *IndexPageHeader : fmt.Stringer *IndexPageHeader : log/slog.LogValuer func NewIndexPageHeader() *IndexPageHeader func (*PageHeader).GetIndexPageHeader() *IndexPageHeader func (*IndexPageHeader).Equals(other *IndexPageHeader) bool var PageHeader_IndexPageHeader_DEFAULT *IndexPageHeader
Integer logical type annotation bitWidth must be 8, 16, 32, or 64. Allowed for physical types: INT32, INT64 Attributes: - BitWidth - IsSigned BitWidth int8 IsSigned bool (*IntType) Equals(other *IntType) bool (*IntType) GetBitWidth() int8 (*IntType) GetIsSigned() bool (*IntType) LogValue() slog.Value (*IntType) Read(ctx context.Context, iprot thrift.TProtocol) error (*IntType) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*IntType) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*IntType) String() string (*IntType) Validate() error (*IntType) Write(ctx context.Context, oprot thrift.TProtocol) error *IntType : github.com/apache/thrift/lib/go/thrift.TStruct *IntType : expvar.Var *IntType : fmt.Stringer *IntType : log/slog.LogValuer func NewIntType() *IntType func (*LogicalType).GetINTEGER() *IntType func (*IntType).Equals(other *IntType) bool var LogicalType_INTEGER_DEFAULT *IntType
Embedded JSON logical type annotation Allowed for physical types: BYTE_ARRAY (*JsonType) Equals(other *JsonType) bool (*JsonType) LogValue() slog.Value (*JsonType) Read(ctx context.Context, iprot thrift.TProtocol) error (*JsonType) String() string (*JsonType) Validate() error (*JsonType) Write(ctx context.Context, oprot thrift.TProtocol) error *JsonType : github.com/apache/thrift/lib/go/thrift.TStruct *JsonType : expvar.Var *JsonType : fmt.Stringer *JsonType : log/slog.LogValuer func NewJsonType() *JsonType func (*LogicalType).GetJSON() *JsonType func (*JsonType).Equals(other *JsonType) bool var LogicalType_JSON_DEFAULT *JsonType
Wrapper struct to store key values Attributes: - Key - Value Key string Value *string (*KeyValue) Equals(other *KeyValue) bool (*KeyValue) GetKey() string (*KeyValue) GetValue() string (*KeyValue) IsSetValue() bool (*KeyValue) LogValue() slog.Value (*KeyValue) Read(ctx context.Context, iprot thrift.TProtocol) error (*KeyValue) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*KeyValue) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*KeyValue) String() string (*KeyValue) Validate() error (*KeyValue) Write(ctx context.Context, oprot thrift.TProtocol) error *KeyValue : github.com/apache/thrift/lib/go/thrift.TStruct *KeyValue : expvar.Var *KeyValue : fmt.Stringer *KeyValue : log/slog.LogValuer func NewKeyValue() *KeyValue func (*ColumnMetaData).GetKeyValueMetadata() []*KeyValue func (*FileMetaData).GetKeyValueMetadata() []*KeyValue func (*KeyValue).Equals(other *KeyValue) bool
(*ListType) Equals(other *ListType) bool (*ListType) LogValue() slog.Value (*ListType) Read(ctx context.Context, iprot thrift.TProtocol) error (*ListType) String() string (*ListType) Validate() error (*ListType) Write(ctx context.Context, oprot thrift.TProtocol) error *ListType : github.com/apache/thrift/lib/go/thrift.TStruct *ListType : expvar.Var *ListType : fmt.Stringer *ListType : log/slog.LogValuer func NewListType() *ListType func (*LogicalType).GetLIST() *ListType func (*ListType).Equals(other *ListType) bool var LogicalType_LIST_DEFAULT *ListType
LogicalType annotations to replace ConvertedType. To maintain compatibility, implementations using LogicalType for a SchemaElement must also set the corresponding ConvertedType (if any) from the following table. Attributes: - STRING - MAP - LIST - ENUM - DECIMAL - DATE - TIME - TIMESTAMP - INTEGER - UNKNOWN - JSON - BSON - UUID - FLOAT16 - VARIANT - GEOMETRY - GEOGRAPHY BSON *BsonType DATE *DateType DECIMAL *DecimalType ENUM *EnumType FLOAT16 *Float16Type GEOGRAPHY *GeographyType GEOMETRY *GeometryType unused field # 9 JSON *JsonType LIST *ListType MAP *MapType STRING *StringType TIME *TimeType TIMESTAMP *TimestampType UNKNOWN *NullType UUID *UUIDType VARIANT *VariantType (*LogicalType) CountSetFieldsLogicalType() int (*LogicalType) Equals(other *LogicalType) bool (*LogicalType) GetBSON() *BsonType (*LogicalType) GetDATE() *DateType (*LogicalType) GetDECIMAL() *DecimalType (*LogicalType) GetENUM() *EnumType (*LogicalType) GetFLOAT16() *Float16Type (*LogicalType) GetGEOGRAPHY() *GeographyType (*LogicalType) GetGEOMETRY() *GeometryType (*LogicalType) GetINTEGER() *IntType (*LogicalType) GetJSON() *JsonType (*LogicalType) GetLIST() *ListType (*LogicalType) GetMAP() *MapType (*LogicalType) GetSTRING() *StringType (*LogicalType) GetTIME() *TimeType (*LogicalType) GetTIMESTAMP() *TimestampType (*LogicalType) GetUNKNOWN() *NullType (*LogicalType) GetUUID() *UUIDType (*LogicalType) GetVARIANT() *VariantType (*LogicalType) IsSetBSON() bool (*LogicalType) IsSetDATE() bool (*LogicalType) IsSetDECIMAL() bool (*LogicalType) IsSetENUM() bool (*LogicalType) IsSetFLOAT16() bool (*LogicalType) IsSetGEOGRAPHY() bool (*LogicalType) IsSetGEOMETRY() bool (*LogicalType) IsSetINTEGER() bool (*LogicalType) IsSetJSON() bool (*LogicalType) IsSetLIST() bool (*LogicalType) IsSetMAP() bool (*LogicalType) IsSetSTRING() bool (*LogicalType) IsSetTIME() bool (*LogicalType) IsSetTIMESTAMP() bool (*LogicalType) IsSetUNKNOWN() bool (*LogicalType) IsSetUUID() bool (*LogicalType) IsSetVARIANT() bool (*LogicalType) LogValue() slog.Value (*LogicalType) Read(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField10(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField11(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField12(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField13(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField14(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField15(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField16(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField17(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField18(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) ReadField8(ctx context.Context, iprot thrift.TProtocol) error (*LogicalType) String() string (*LogicalType) Validate() error (*LogicalType) Write(ctx context.Context, oprot thrift.TProtocol) error *LogicalType : github.com/apache/thrift/lib/go/thrift.TStruct *LogicalType : expvar.Var *LogicalType : fmt.Stringer *LogicalType : log/slog.LogValuer func NewLogicalType() *LogicalType func (*SchemaElement).GetLogicalType() *LogicalType func (*LogicalType).Equals(other *LogicalType) bool var SchemaElement_LogicalType_DEFAULT *LogicalType
(*MapType) Equals(other *MapType) bool (*MapType) LogValue() slog.Value (*MapType) Read(ctx context.Context, iprot thrift.TProtocol) error (*MapType) String() string (*MapType) Validate() error (*MapType) Write(ctx context.Context, oprot thrift.TProtocol) error *MapType : github.com/apache/thrift/lib/go/thrift.TStruct *MapType : expvar.Var *MapType : fmt.Stringer *MapType : log/slog.LogValuer func NewMapType() *MapType func (*LogicalType).GetMAP() *MapType func (*MapType).Equals(other *MapType) bool var LogicalType_MAP_DEFAULT *MapType
(*MicroSeconds) Equals(other *MicroSeconds) bool (*MicroSeconds) LogValue() slog.Value (*MicroSeconds) Read(ctx context.Context, iprot thrift.TProtocol) error (*MicroSeconds) String() string (*MicroSeconds) Validate() error (*MicroSeconds) Write(ctx context.Context, oprot thrift.TProtocol) error *MicroSeconds : github.com/apache/thrift/lib/go/thrift.TStruct *MicroSeconds : expvar.Var *MicroSeconds : fmt.Stringer *MicroSeconds : log/slog.LogValuer func NewMicroSeconds() *MicroSeconds func (*TimeUnit).GetMICROS() *MicroSeconds func (*MicroSeconds).Equals(other *MicroSeconds) bool var TimeUnit_MICROS_DEFAULT *MicroSeconds
Time units for logical types (*MilliSeconds) Equals(other *MilliSeconds) bool (*MilliSeconds) LogValue() slog.Value (*MilliSeconds) Read(ctx context.Context, iprot thrift.TProtocol) error (*MilliSeconds) String() string (*MilliSeconds) Validate() error (*MilliSeconds) Write(ctx context.Context, oprot thrift.TProtocol) error *MilliSeconds : github.com/apache/thrift/lib/go/thrift.TStruct *MilliSeconds : expvar.Var *MilliSeconds : fmt.Stringer *MilliSeconds : log/slog.LogValuer func NewMilliSeconds() *MilliSeconds func (*TimeUnit).GetMILLIS() *MilliSeconds func (*MilliSeconds).Equals(other *MilliSeconds) bool var TimeUnit_MILLIS_DEFAULT *MilliSeconds
(*NanoSeconds) Equals(other *NanoSeconds) bool (*NanoSeconds) LogValue() slog.Value (*NanoSeconds) Read(ctx context.Context, iprot thrift.TProtocol) error (*NanoSeconds) String() string (*NanoSeconds) Validate() error (*NanoSeconds) Write(ctx context.Context, oprot thrift.TProtocol) error *NanoSeconds : github.com/apache/thrift/lib/go/thrift.TStruct *NanoSeconds : expvar.Var *NanoSeconds : fmt.Stringer *NanoSeconds : log/slog.LogValuer func NewNanoSeconds() *NanoSeconds func (*TimeUnit).GetNANOS() *NanoSeconds func (*NanoSeconds).Equals(other *NanoSeconds) bool var TimeUnit_NANOS_DEFAULT *NanoSeconds
Logical type to annotate a column that is always null. Sometimes when discovering the schema of existing data, values are always null and the physical type can't be determined. This annotation signals the case where the physical type was guessed from all null values. (*NullType) Equals(other *NullType) bool (*NullType) LogValue() slog.Value (*NullType) Read(ctx context.Context, iprot thrift.TProtocol) error (*NullType) String() string (*NullType) Validate() error (*NullType) Write(ctx context.Context, oprot thrift.TProtocol) error *NullType : github.com/apache/thrift/lib/go/thrift.TStruct *NullType : expvar.Var *NullType : fmt.Stringer *NullType : log/slog.LogValuer func NewNullType() *NullType func (*LogicalType).GetUNKNOWN() *NullType func (*NullType).Equals(other *NullType) bool var LogicalType_UNKNOWN_DEFAULT *NullType
Optional offsets for each data page in a ColumnChunk. Forms part of the page index, along with ColumnIndex. OffsetIndex may be present even if ColumnIndex is not. Attributes: - PageLocations: PageLocations, ordered by increasing PageLocation.offset. It is required that page_locations[i].first_row_index < page_locations[i+1].first_row_index. - UnencodedByteArrayDataBytes: Unencoded/uncompressed size for BYTE_ARRAY types. See documention for unencoded_byte_array_data_bytes in SizeStatistics for more details on this field. PageLocations []*PageLocation UnencodedByteArrayDataBytes []int64 (*OffsetIndex) Equals(other *OffsetIndex) bool (*OffsetIndex) GetPageLocations() []*PageLocation (*OffsetIndex) GetUnencodedByteArrayDataBytes() []int64 (*OffsetIndex) IsSetUnencodedByteArrayDataBytes() bool (*OffsetIndex) LogValue() slog.Value (*OffsetIndex) Read(ctx context.Context, iprot thrift.TProtocol) error (*OffsetIndex) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*OffsetIndex) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*OffsetIndex) String() string (*OffsetIndex) Validate() error (*OffsetIndex) Write(ctx context.Context, oprot thrift.TProtocol) error *OffsetIndex : github.com/apache/thrift/lib/go/thrift.TStruct *OffsetIndex : expvar.Var *OffsetIndex : fmt.Stringer *OffsetIndex : log/slog.LogValuer func NewOffsetIndex() *OffsetIndex func (*OffsetIndex).Equals(other *OffsetIndex) bool
statistics of a given page type and encoding Attributes: - PageType: the page type (data/dic/...) * - Encoding: encoding of the page * - Count: number of pages of this type with this encoding * Count int32 Encoding Encoding PageType PageType (*PageEncodingStats) Equals(other *PageEncodingStats) bool (*PageEncodingStats) GetCount() int32 (*PageEncodingStats) GetEncoding() Encoding (*PageEncodingStats) GetPageType() PageType (*PageEncodingStats) LogValue() slog.Value (*PageEncodingStats) Read(ctx context.Context, iprot thrift.TProtocol) error (*PageEncodingStats) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*PageEncodingStats) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*PageEncodingStats) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*PageEncodingStats) String() string (*PageEncodingStats) Validate() error (*PageEncodingStats) Write(ctx context.Context, oprot thrift.TProtocol) error *PageEncodingStats : github.com/apache/thrift/lib/go/thrift.TStruct *PageEncodingStats : expvar.Var *PageEncodingStats : fmt.Stringer *PageEncodingStats : log/slog.LogValuer func NewPageEncodingStats() *PageEncodingStats func (*ColumnMetaData).GetEncodingStats() []*PageEncodingStats func (*PageEncodingStats).Equals(other *PageEncodingStats) bool
Attributes: - Type: the type of the page: indicates which of the *_header fields is set * - UncompressedPageSize: Uncompressed page size in bytes (not including this header) * - CompressedPageSize: Compressed (and potentially encrypted) page size in bytes, not including this header * - Crc: The 32-bit CRC checksum for the page, to be be calculated as follows: - The standard CRC32 algorithm is used (with polynomial 0x04C11DB7, the same as in e.g. GZip). - All page types can have a CRC (v1 and v2 data pages, dictionary pages, etc.). - The CRC is computed on the serialization binary representation of the page (as written to disk), excluding the page header. For example, for v1 data pages, the CRC is computed on the concatenation of repetition levels, definition levels and column values (optionally compressed, optionally encrypted). - The CRC computation therefore takes place after any compression and encryption steps, if any. If enabled, this allows for disabling checksumming in HDFS if only a few pages need to be read. - DataPageHeader - IndexPageHeader - DictionaryPageHeader - DataPageHeaderV2 CompressedPageSize int32 Crc *int32 DataPageHeader *DataPageHeader DataPageHeaderV2 *DataPageHeaderV2 DictionaryPageHeader *DictionaryPageHeader IndexPageHeader *IndexPageHeader Type PageType UncompressedPageSize int32 (*PageHeader) Equals(other *PageHeader) bool (*PageHeader) GetCompressedPageSize() int32 (*PageHeader) GetCrc() int32 (*PageHeader) GetDataPageHeader() *DataPageHeader (*PageHeader) GetDataPageHeaderV2() *DataPageHeaderV2 (*PageHeader) GetDictionaryPageHeader() *DictionaryPageHeader (*PageHeader) GetIndexPageHeader() *IndexPageHeader (*PageHeader) GetType() PageType (*PageHeader) GetUncompressedPageSize() int32 (*PageHeader) IsSetCrc() bool (*PageHeader) IsSetDataPageHeader() bool (*PageHeader) IsSetDataPageHeaderV2() bool (*PageHeader) IsSetDictionaryPageHeader() bool (*PageHeader) IsSetIndexPageHeader() bool (*PageHeader) LogValue() slog.Value (*PageHeader) Read(ctx context.Context, iprot thrift.TProtocol) error (*PageHeader) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*PageHeader) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*PageHeader) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*PageHeader) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*PageHeader) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*PageHeader) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*PageHeader) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*PageHeader) ReadField8(ctx context.Context, iprot thrift.TProtocol) error (*PageHeader) String() string (*PageHeader) Validate() error (*PageHeader) Write(ctx context.Context, oprot thrift.TProtocol) error *PageHeader : github.com/apache/thrift/lib/go/thrift.TStruct *PageHeader : expvar.Var *PageHeader : fmt.Stringer *PageHeader : log/slog.LogValuer func NewPageHeader() *PageHeader func (*PageHeader).Equals(other *PageHeader) bool
Attributes: - Offset: Offset of the page in the file * - CompressedPageSize: Size of the page, including header. Sum of compressed_page_size and header length - FirstRowIndex: Index within the RowGroup of the first row of the page. When an OffsetIndex is present, pages must begin on row boundaries (repetition_level = 0). CompressedPageSize int32 FirstRowIndex int64 Offset int64 (*PageLocation) Equals(other *PageLocation) bool (*PageLocation) GetCompressedPageSize() int32 (*PageLocation) GetFirstRowIndex() int64 (*PageLocation) GetOffset() int64 (*PageLocation) LogValue() slog.Value (*PageLocation) Read(ctx context.Context, iprot thrift.TProtocol) error (*PageLocation) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*PageLocation) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*PageLocation) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*PageLocation) String() string (*PageLocation) Validate() error (*PageLocation) Write(ctx context.Context, oprot thrift.TProtocol) error *PageLocation : github.com/apache/thrift/lib/go/thrift.TStruct *PageLocation : expvar.Var *PageLocation : fmt.Stringer *PageLocation : log/slog.LogValuer func NewPageLocation() *PageLocation func (*OffsetIndex).GetPageLocations() []*PageLocation func (*PageLocation).Equals(other *PageLocation) bool
( PageType) MarshalText() ([]byte, error) (*PageType) Scan(value interface{}) error ( PageType) String() string (*PageType) UnmarshalText(text []byte) error (*PageType) Value() (driver.Value, error) *PageType : database/sql.Scanner *PageType : database/sql/driver.Valuer PageType : encoding.TextMarshaler *PageType : encoding.TextUnmarshaler PageType : expvar.Var PageType : fmt.Stringer func PageTypeFromString(s string) (PageType, error) func PageTypePtr(v PageType) *PageType func (*PageEncodingStats).GetPageType() PageType func (*PageHeader).GetType() PageType func PageTypePtr(v PageType) *PageType const PageType_DATA_PAGE const PageType_DATA_PAGE_V2 const PageType_DICTIONARY_PAGE const PageType_INDEX_PAGE
Attributes: - Columns: Metadata for each column chunk in this row group. This list must have the same order as the SchemaElement list in FileMetaData. - TotalByteSize: Total byte size of all the uncompressed column data in this row group * - NumRows: Number of rows in this row group * - SortingColumns: If set, specifies a sort ordering of the rows in this RowGroup. The sorting columns can be a subset of all the columns. - FileOffset: Byte offset from beginning of file to first page (data or dictionary) in this row group * - TotalCompressedSize: Total byte size of all compressed (and potentially encrypted) column data in this row group * - Ordinal: Row group ordinal in the file * Columns []*ColumnChunk FileOffset *int64 NumRows int64 Ordinal *int16 SortingColumns []*SortingColumn TotalByteSize int64 TotalCompressedSize *int64 (*RowGroup) Equals(other *RowGroup) bool (*RowGroup) GetColumns() []*ColumnChunk (*RowGroup) GetFileOffset() int64 (*RowGroup) GetNumRows() int64 (*RowGroup) GetOrdinal() int16 (*RowGroup) GetSortingColumns() []*SortingColumn (*RowGroup) GetTotalByteSize() int64 (*RowGroup) GetTotalCompressedSize() int64 (*RowGroup) IsSetFileOffset() bool (*RowGroup) IsSetOrdinal() bool (*RowGroup) IsSetSortingColumns() bool (*RowGroup) IsSetTotalCompressedSize() bool (*RowGroup) LogValue() slog.Value (*RowGroup) Read(ctx context.Context, iprot thrift.TProtocol) error (*RowGroup) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*RowGroup) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*RowGroup) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*RowGroup) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*RowGroup) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*RowGroup) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*RowGroup) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*RowGroup) String() string (*RowGroup) Validate() error (*RowGroup) Write(ctx context.Context, oprot thrift.TProtocol) error *RowGroup : github.com/apache/thrift/lib/go/thrift.TStruct *RowGroup : expvar.Var *RowGroup : fmt.Stringer *RowGroup : log/slog.LogValuer func NewRowGroup() *RowGroup func (*FileMetaData).GetRowGroups() []*RowGroup func (*RowGroup).Equals(other *RowGroup) bool
Represents a element inside a schema definition. - if it is a group (inner node) then type is undefined and num_children is defined - if it is a primitive type (leaf) then type is defined and num_children is undefined the nodes are listed in depth first traversal order. Attributes: - Type: Data type for this field. Not set if the current element is a non-leaf node - TypeLength: If type is FIXED_LEN_BYTE_ARRAY, this is the byte length of the values. Otherwise, if specified, this is the maximum bit length to store any of the values. (e.g. a low cardinality INT col could have this set to 3). Note that this is in the schema, and therefore fixed for the entire file. - RepetitionType: repetition of the field. The root of the schema does not have a repetition_type. All other nodes must have one - Name: Name of the field in the schema - NumChildren: Nested fields. Since thrift does not support nested fields, the nesting is flattened to a single list by a depth-first traversal. The children count is used to construct the nested relationship. This field is not set when the element is a primitive type - ConvertedType: DEPRECATED: When the schema is the result of a conversion from another model. Used to record the original type to help with cross conversion. This is superseded by logicalType. - Scale: DEPRECATED: Used when this column contains decimal data. See the DECIMAL converted type for more details. This is superseded by using the DecimalType annotation in logicalType. - Precision - FieldID: When the original schema supports field ids, this will save the original field id in the parquet schema - LogicalType: The logical type of this SchemaElement LogicalType replaces ConvertedType, but ConvertedType is still required for some logical types to ensure forward-compatibility in format v1. ConvertedType *ConvertedType FieldID *int32 LogicalType *LogicalType Name string NumChildren *int32 Precision *int32 RepetitionType *FieldRepetitionType Scale *int32 Type *Type TypeLength *int32 (*SchemaElement) Equals(other *SchemaElement) bool (*SchemaElement) GetConvertedType() ConvertedType (*SchemaElement) GetFieldID() int32 (*SchemaElement) GetLogicalType() *LogicalType (*SchemaElement) GetName() string (*SchemaElement) GetNumChildren() int32 (*SchemaElement) GetPrecision() int32 (*SchemaElement) GetRepetitionType() FieldRepetitionType (*SchemaElement) GetScale() int32 (*SchemaElement) GetType() Type (*SchemaElement) GetTypeLength() int32 (*SchemaElement) IsSetConvertedType() bool (*SchemaElement) IsSetFieldID() bool (*SchemaElement) IsSetLogicalType() bool (*SchemaElement) IsSetNumChildren() bool (*SchemaElement) IsSetPrecision() bool (*SchemaElement) IsSetRepetitionType() bool (*SchemaElement) IsSetScale() bool (*SchemaElement) IsSetType() bool (*SchemaElement) IsSetTypeLength() bool (*SchemaElement) LogValue() slog.Value (*SchemaElement) Read(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField10(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField8(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) ReadField9(ctx context.Context, iprot thrift.TProtocol) error (*SchemaElement) String() string (*SchemaElement) Validate() error (*SchemaElement) Write(ctx context.Context, oprot thrift.TProtocol) error *SchemaElement : github.com/apache/thrift/lib/go/thrift.TStruct *SchemaElement : expvar.Var *SchemaElement : fmt.Stringer *SchemaElement : log/slog.LogValuer func NewSchemaElement() *SchemaElement func (*FileMetaData).GetSchema() []*SchemaElement func github.com/apache/arrow-go/v18/parquet/schema.ToThrift(schema *schema.GroupNode) []*SchemaElement func (*SchemaElement).Equals(other *SchemaElement) bool func github.com/apache/arrow-go/v18/parquet/schema.FromParquet(elems []*SchemaElement) (schema.Node, error) func github.com/apache/arrow-go/v18/parquet/schema.GroupNodeFromThrift(elem *SchemaElement, fields schema.FieldList) (*schema.GroupNode, error) func github.com/apache/arrow-go/v18/parquet/schema.PrimitiveNodeFromThrift(elem *SchemaElement) (*schema.PrimitiveNode, error)
A structure for capturing metadata for estimating the unencoded, uncompressed size of data written. This is useful for readers to estimate how much memory is needed to reconstruct data in their memory model and for fine grained filter pushdown on nested structures (the histograms contained in this structure can help determine the number of nulls at a particular nesting level and maximum length of lists). Attributes: - UnencodedByteArrayDataBytes: The number of physical bytes stored for BYTE_ARRAY data values assuming no encoding. This is exclusive of the bytes needed to store the length of each byte array. In other words, this field is equivalent to the `(size of PLAIN-ENCODING the byte array values) - (4 bytes * number of values written)`. To determine unencoded sizes of other types readers can use schema information multiplied by the number of non-null and null values. The number of null/non-null values can be inferred from the histograms below. For example, if a column chunk is dictionary-encoded with dictionary ["a", "bc", "cde"], and a data page contains the indices [0, 0, 1, 2], then this value for that data page should be 7 (1 + 1 + 2 + 3). This field should only be set for types that use BYTE_ARRAY as their physical type. - RepetitionLevelHistogram: When present, there is expected to be one element corresponding to each repetition (i.e. size=max repetition_level+1) where each element represents the number of times the repetition level was observed in the data. This field may be omitted if max_repetition_level is 0 without loss of information. - DefinitionLevelHistogram: Same as repetition_level_histogram except for definition levels. This field may be omitted if max_definition_level is 0 or 1 without loss of information. DefinitionLevelHistogram []int64 RepetitionLevelHistogram []int64 UnencodedByteArrayDataBytes *int64 (*SizeStatistics) Equals(other *SizeStatistics) bool (*SizeStatistics) GetDefinitionLevelHistogram() []int64 (*SizeStatistics) GetRepetitionLevelHistogram() []int64 (*SizeStatistics) GetUnencodedByteArrayDataBytes() int64 (*SizeStatistics) IsSetDefinitionLevelHistogram() bool (*SizeStatistics) IsSetRepetitionLevelHistogram() bool (*SizeStatistics) IsSetUnencodedByteArrayDataBytes() bool (*SizeStatistics) LogValue() slog.Value (*SizeStatistics) Read(ctx context.Context, iprot thrift.TProtocol) error (*SizeStatistics) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*SizeStatistics) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*SizeStatistics) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*SizeStatistics) String() string (*SizeStatistics) Validate() error (*SizeStatistics) Write(ctx context.Context, oprot thrift.TProtocol) error *SizeStatistics : github.com/apache/thrift/lib/go/thrift.TStruct *SizeStatistics : expvar.Var *SizeStatistics : fmt.Stringer *SizeStatistics : log/slog.LogValuer func NewSizeStatistics() *SizeStatistics func (*ColumnMetaData).GetSizeStatistics() *SizeStatistics func (*SizeStatistics).Equals(other *SizeStatistics) bool var ColumnMetaData_SizeStatistics_DEFAULT *SizeStatistics
Sort order within a RowGroup of a leaf column Attributes: - ColumnIdx: The ordinal position of the column (in this row group) * - Descending: If true, indicates this column is sorted in descending order. * - NullsFirst: If true, nulls will come before non-null values, otherwise, nulls go at the end. ColumnIdx int32 Descending bool NullsFirst bool (*SortingColumn) Equals(other *SortingColumn) bool (*SortingColumn) GetColumnIdx() int32 (*SortingColumn) GetDescending() bool (*SortingColumn) GetNullsFirst() bool (*SortingColumn) LogValue() slog.Value (*SortingColumn) Read(ctx context.Context, iprot thrift.TProtocol) error (*SortingColumn) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*SortingColumn) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*SortingColumn) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*SortingColumn) String() string (*SortingColumn) Validate() error (*SortingColumn) Write(ctx context.Context, oprot thrift.TProtocol) error *SortingColumn : github.com/apache/thrift/lib/go/thrift.TStruct *SortingColumn : expvar.Var *SortingColumn : fmt.Stringer *SortingColumn : log/slog.LogValuer func NewSortingColumn() *SortingColumn func (*RowGroup).GetSortingColumns() []*SortingColumn func (*SortingColumn).Equals(other *SortingColumn) bool
Block-based algorithm type annotation. * (*SplitBlockAlgorithm) Equals(other *SplitBlockAlgorithm) bool (*SplitBlockAlgorithm) LogValue() slog.Value (*SplitBlockAlgorithm) Read(ctx context.Context, iprot thrift.TProtocol) error (*SplitBlockAlgorithm) String() string (*SplitBlockAlgorithm) Validate() error (*SplitBlockAlgorithm) Write(ctx context.Context, oprot thrift.TProtocol) error *SplitBlockAlgorithm : github.com/apache/thrift/lib/go/thrift.TStruct *SplitBlockAlgorithm : expvar.Var *SplitBlockAlgorithm : fmt.Stringer *SplitBlockAlgorithm : log/slog.LogValuer func NewSplitBlockAlgorithm() *SplitBlockAlgorithm func (*BloomFilterAlgorithm).GetBLOCK() *SplitBlockAlgorithm func (*SplitBlockAlgorithm).Equals(other *SplitBlockAlgorithm) bool var BloomFilterAlgorithm_BLOCK_DEFAULT *SplitBlockAlgorithm
Statistics per row group and per page All fields are optional. Attributes: - Max: DEPRECATED: min and max value of the column. Use min_value and max_value. Values are encoded using PLAIN encoding, except that variable-length byte arrays do not include a length prefix. These fields encode min and max values determined by signed comparison only. New files should use the correct order for a column's logical type and store the values in the min_value and max_value fields. To support older readers, these may be set when the column order is signed. - Min - NullCount: Count of null values in the column. Writers SHOULD always write this field even if it is zero (i.e. no null value) or the column is not nullable. Readers MUST distinguish between null_count not being present and null_count == 0. If null_count is not present, readers MUST NOT assume null_count == 0. - DistinctCount: count of distinct values occurring - MaxValue: Lower and upper bound values for the column, determined by its ColumnOrder. These may be the actual minimum and maximum values found on a page or column chunk, but can also be (more compact) values that do not exist on a page or column chunk. For example, instead of storing "Blart Versenwald III", a writer may set min_value="B", max_value="C". Such more compact values must still be valid values within the column's logical type. Values are encoded using PLAIN encoding, except that variable-length byte arrays do not include a length prefix. - MinValue - IsMaxValueExact: If true, max_value is the actual maximum value for a column - IsMinValueExact: If true, min_value is the actual minimum value for a column DistinctCount *int64 IsMaxValueExact *bool IsMinValueExact *bool Max []byte MaxValue []byte Min []byte MinValue []byte NullCount *int64 (*Statistics) Equals(other *Statistics) bool (*Statistics) GetDistinctCount() int64 (*Statistics) GetIsMaxValueExact() bool (*Statistics) GetIsMinValueExact() bool (*Statistics) GetMax() []byte (*Statistics) GetMaxValue() []byte (*Statistics) GetMin() []byte (*Statistics) GetMinValue() []byte (*Statistics) GetNullCount() int64 (*Statistics) IsSetDistinctCount() bool (*Statistics) IsSetIsMaxValueExact() bool (*Statistics) IsSetIsMinValueExact() bool (*Statistics) IsSetMax() bool (*Statistics) IsSetMaxValue() bool (*Statistics) IsSetMin() bool (*Statistics) IsSetMinValue() bool (*Statistics) IsSetNullCount() bool (*Statistics) LogValue() slog.Value (*Statistics) Read(ctx context.Context, iprot thrift.TProtocol) error (*Statistics) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*Statistics) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*Statistics) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*Statistics) ReadField4(ctx context.Context, iprot thrift.TProtocol) error (*Statistics) ReadField5(ctx context.Context, iprot thrift.TProtocol) error (*Statistics) ReadField6(ctx context.Context, iprot thrift.TProtocol) error (*Statistics) ReadField7(ctx context.Context, iprot thrift.TProtocol) error (*Statistics) ReadField8(ctx context.Context, iprot thrift.TProtocol) error (*Statistics) String() string (*Statistics) Validate() error (*Statistics) Write(ctx context.Context, oprot thrift.TProtocol) error *Statistics : github.com/apache/thrift/lib/go/thrift.TStruct *Statistics : expvar.Var *Statistics : fmt.Stringer *Statistics : log/slog.LogValuer func NewStatistics() *Statistics func (*ColumnMetaData).GetStatistics() *Statistics func (*DataPageHeader).GetStatistics() *Statistics func (*DataPageHeaderV2).GetStatistics() *Statistics func (*Statistics).Equals(other *Statistics) bool var ColumnMetaData_Statistics_DEFAULT *Statistics var DataPageHeader_Statistics_DEFAULT *Statistics var DataPageHeaderV2_Statistics_DEFAULT *Statistics
Empty structs to use as logical type annotations (*StringType) Equals(other *StringType) bool (*StringType) LogValue() slog.Value (*StringType) Read(ctx context.Context, iprot thrift.TProtocol) error (*StringType) String() string (*StringType) Validate() error (*StringType) Write(ctx context.Context, oprot thrift.TProtocol) error *StringType : github.com/apache/thrift/lib/go/thrift.TStruct *StringType : expvar.Var *StringType : fmt.Stringer *StringType : log/slog.LogValuer func NewStringType() *StringType func (*LogicalType).GetSTRING() *StringType func (*StringType).Equals(other *StringType) bool var LogicalType_STRING_DEFAULT *StringType
Timestamp logical type annotation Allowed for physical types: INT64 Attributes: - IsAdjustedToUTC - Unit IsAdjustedToUTC bool Unit *TimeUnit (*TimestampType) Equals(other *TimestampType) bool (*TimestampType) GetIsAdjustedToUTC() bool (*TimestampType) GetUnit() *TimeUnit (*TimestampType) IsSetUnit() bool (*TimestampType) LogValue() slog.Value (*TimestampType) Read(ctx context.Context, iprot thrift.TProtocol) error (*TimestampType) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*TimestampType) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*TimestampType) String() string (*TimestampType) Validate() error (*TimestampType) Write(ctx context.Context, oprot thrift.TProtocol) error *TimestampType : github.com/apache/thrift/lib/go/thrift.TStruct *TimestampType : expvar.Var *TimestampType : fmt.Stringer *TimestampType : log/slog.LogValuer func NewTimestampType() *TimestampType func (*LogicalType).GetTIMESTAMP() *TimestampType func (*TimestampType).Equals(other *TimestampType) bool var LogicalType_TIMESTAMP_DEFAULT *TimestampType
Time logical type annotation Allowed for physical types: INT32 (millis), INT64 (micros, nanos) Attributes: - IsAdjustedToUTC - Unit IsAdjustedToUTC bool Unit *TimeUnit (*TimeType) Equals(other *TimeType) bool (*TimeType) GetIsAdjustedToUTC() bool (*TimeType) GetUnit() *TimeUnit (*TimeType) IsSetUnit() bool (*TimeType) LogValue() slog.Value (*TimeType) Read(ctx context.Context, iprot thrift.TProtocol) error (*TimeType) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*TimeType) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*TimeType) String() string (*TimeType) Validate() error (*TimeType) Write(ctx context.Context, oprot thrift.TProtocol) error *TimeType : github.com/apache/thrift/lib/go/thrift.TStruct *TimeType : expvar.Var *TimeType : fmt.Stringer *TimeType : log/slog.LogValuer func NewTimeType() *TimeType func (*LogicalType).GetTIME() *TimeType func (*TimeType).Equals(other *TimeType) bool var LogicalType_TIME_DEFAULT *TimeType
Attributes: - MILLIS - MICROS - NANOS MICROS *MicroSeconds MILLIS *MilliSeconds NANOS *NanoSeconds (*TimeUnit) CountSetFieldsTimeUnit() int (*TimeUnit) Equals(other *TimeUnit) bool (*TimeUnit) GetMICROS() *MicroSeconds (*TimeUnit) GetMILLIS() *MilliSeconds (*TimeUnit) GetNANOS() *NanoSeconds (*TimeUnit) IsSetMICROS() bool (*TimeUnit) IsSetMILLIS() bool (*TimeUnit) IsSetNANOS() bool (*TimeUnit) LogValue() slog.Value (*TimeUnit) Read(ctx context.Context, iprot thrift.TProtocol) error (*TimeUnit) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*TimeUnit) ReadField2(ctx context.Context, iprot thrift.TProtocol) error (*TimeUnit) ReadField3(ctx context.Context, iprot thrift.TProtocol) error (*TimeUnit) String() string (*TimeUnit) Validate() error (*TimeUnit) Write(ctx context.Context, oprot thrift.TProtocol) error *TimeUnit : github.com/apache/thrift/lib/go/thrift.TStruct *TimeUnit : expvar.Var *TimeUnit : fmt.Stringer *TimeUnit : log/slog.LogValuer func NewTimeUnit() *TimeUnit func (*TimestampType).GetUnit() *TimeUnit func (*TimeType).GetUnit() *TimeUnit func (*TimeUnit).Equals(other *TimeUnit) bool var TimestampType_Unit_DEFAULT *TimeUnit var TimeType_Unit_DEFAULT *TimeUnit
Types supported by Parquet. These types are intended to be used in combination with the encodings to control the on disk storage format. For example INT16 is not included as a type since a good encoding of INT32 would handle this. ( Type) MarshalText() ([]byte, error) (*Type) Scan(value interface{}) error ( Type) String() string (*Type) UnmarshalText(text []byte) error (*Type) Value() (driver.Value, error) *Type : database/sql.Scanner *Type : database/sql/driver.Valuer Type : encoding.TextMarshaler *Type : encoding.TextUnmarshaler Type : expvar.Var Type : fmt.Stringer func TypeFromString(s string) (Type, error) func TypePtr(v Type) *Type func (*ColumnMetaData).GetType() Type func (*SchemaElement).GetType() Type func TypePtr(v Type) *Type func github.com/apache/arrow-go/v18/parquet/schema.DefaultSortOrder(primitive Type) schema.SortOrder func github.com/apache/arrow-go/v18/parquet/schema.GetLogicalSortOrder(logical schema.LogicalType, primitive Type) schema.SortOrder func github.com/apache/arrow-go/v18/parquet/schema.GetSortOrder(convert schema.ConvertedType, primitive Type) schema.SortOrder var SchemaElement_Type_DEFAULT const Type_BOOLEAN const Type_BYTE_ARRAY const Type_DOUBLE const Type_FIXED_LEN_BYTE_ARRAY const Type_FLOAT const Type_INT32 const Type_INT64 const Type_INT96
Empty struct to signal the order defined by the physical or logical type (*TypeDefinedOrder) Equals(other *TypeDefinedOrder) bool (*TypeDefinedOrder) LogValue() slog.Value (*TypeDefinedOrder) Read(ctx context.Context, iprot thrift.TProtocol) error (*TypeDefinedOrder) String() string (*TypeDefinedOrder) Validate() error (*TypeDefinedOrder) Write(ctx context.Context, oprot thrift.TProtocol) error *TypeDefinedOrder : github.com/apache/thrift/lib/go/thrift.TStruct *TypeDefinedOrder : expvar.Var *TypeDefinedOrder : fmt.Stringer *TypeDefinedOrder : log/slog.LogValuer func NewTypeDefinedOrder() *TypeDefinedOrder func (*ColumnOrder).GetTYPE_ORDER() *TypeDefinedOrder func (*TypeDefinedOrder).Equals(other *TypeDefinedOrder) bool var ColumnOrder_TYPE_ORDER_DEFAULT *TypeDefinedOrder
The compression used in the Bloom filter. (*Uncompressed) Equals(other *Uncompressed) bool (*Uncompressed) LogValue() slog.Value (*Uncompressed) Read(ctx context.Context, iprot thrift.TProtocol) error (*Uncompressed) String() string (*Uncompressed) Validate() error (*Uncompressed) Write(ctx context.Context, oprot thrift.TProtocol) error *Uncompressed : github.com/apache/thrift/lib/go/thrift.TStruct *Uncompressed : expvar.Var *Uncompressed : fmt.Stringer *Uncompressed : log/slog.LogValuer func NewUncompressed() *Uncompressed func (*BloomFilterCompression).GetUNCOMPRESSED() *Uncompressed func (*Uncompressed).Equals(other *Uncompressed) bool var BloomFilterCompression_UNCOMPRESSED_DEFAULT *Uncompressed
(*UUIDType) Equals(other *UUIDType) bool (*UUIDType) LogValue() slog.Value (*UUIDType) Read(ctx context.Context, iprot thrift.TProtocol) error (*UUIDType) String() string (*UUIDType) Validate() error (*UUIDType) Write(ctx context.Context, oprot thrift.TProtocol) error *UUIDType : github.com/apache/thrift/lib/go/thrift.TStruct *UUIDType : expvar.Var *UUIDType : fmt.Stringer *UUIDType : log/slog.LogValuer func NewUUIDType() *UUIDType func (*LogicalType).GetUUID() *UUIDType func (*UUIDType).Equals(other *UUIDType) bool var LogicalType_UUID_DEFAULT *UUIDType
Embedded Variant logical type annotation Attributes: - SpecificationVersion SpecificationVersion *int8 (*VariantType) Equals(other *VariantType) bool (*VariantType) GetSpecificationVersion() int8 (*VariantType) IsSetSpecificationVersion() bool (*VariantType) LogValue() slog.Value (*VariantType) Read(ctx context.Context, iprot thrift.TProtocol) error (*VariantType) ReadField1(ctx context.Context, iprot thrift.TProtocol) error (*VariantType) String() string (*VariantType) Validate() error (*VariantType) Write(ctx context.Context, oprot thrift.TProtocol) error *VariantType : github.com/apache/thrift/lib/go/thrift.TStruct *VariantType : expvar.Var *VariantType : fmt.Stringer *VariantType : log/slog.LogValuer func NewVariantType() *VariantType func (*LogicalType).GetVARIANT() *VariantType func (*VariantType).Equals(other *VariantType) bool var LogicalType_VARIANT_DEFAULT *VariantType
Hash strategy type annotation. xxHash is an extremely fast non-cryptographic hash algorithm. It uses 64 bits version of xxHash. (*XxHash) Equals(other *XxHash) bool (*XxHash) LogValue() slog.Value (*XxHash) Read(ctx context.Context, iprot thrift.TProtocol) error (*XxHash) String() string (*XxHash) Validate() error (*XxHash) Write(ctx context.Context, oprot thrift.TProtocol) error *XxHash : github.com/apache/thrift/lib/go/thrift.TStruct *XxHash : expvar.Var *XxHash : fmt.Stringer *XxHash : log/slog.LogValuer func NewXxHash() *XxHash func (*BloomFilterHash).GetXXHASH() *XxHash func (*XxHash).Equals(other *XxHash) bool var BloomFilterHash_XXHASH_DEFAULT *XxHash
Package-Level Functions (total 74)
func NewXxHash() *XxHash
func TypePtr(v Type) *Type
Package-Level Variables (total 113)
Package-Level Constants (total 62)
const Type_BOOLEAN Type = 0
const Type_DOUBLE Type = 5
const Type_FLOAT Type = 4
const Type_INT32 Type = 1
const Type_INT64 Type = 2
const Type_INT96 Type = 3