package deprecated

Import Path
	github.com/parquet-go/parquet-go/deprecated (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 4 packages

Involved Source Files int96.go parquet.go
Package-Level Type Names (total 2)
/* sort by: | */
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. func github.com/parquet-go/parquet-go.Type.ConvertedType() *ConvertedType const Bson const Date const Decimal const Enum const Int16 const Int32 const Int64 const Int8 const Interval const Json const List const Map const MapKeyValue const TimeMicros const TimeMillis const TimestampMicros const TimestampMillis const Uint16 const Uint32 const Uint64 const Uint8 const UTF8
Int96 is an implementation of the deprecated INT96 parquet type. Int converts i to a big.Int representation. Int32 converts i to a int32, potentially truncating the value. Int64 converts i to a int64, potentially truncating the value. IsZero returns true if i is the zero-value. Len returns the minimum length in bits required to store the value of i. Less returns true if i < j. The method implements a signed comparison between the two operands. Negative returns true if i is a negative value. String returns a string representation of i. Int96 : expvar.Var Int96 : fmt.Stringer Int96 : gopkg.in/yaml.v3.IsZeroer func Int32ToInt96(value int32) (i96 Int96) func Int64ToInt96(value int64) (i96 Int96) func MaxInt96(data []Int96) (max Int96) func MinInt96(data []Int96) (min Int96) func MinMaxInt96(data []Int96) (min, max Int96) func github.com/parquet-go/parquet-go.Value.Int96() Int96 func github.com/parquet-go/parquet-go/encoding.Encoding.DecodeInt96(dst []Int96, src []byte) ([]Int96, error) func github.com/parquet-go/parquet-go/encoding.NotSupported.DecodeInt96(dst []Int96, src []byte) ([]Int96, error) func github.com/parquet-go/parquet-go/encoding.(*Values).Int96() []Int96 func github.com/parquet-go/parquet-go/encoding/plain.(*Encoding).DecodeInt96(dst []Int96, src []byte) ([]Int96, error) func MaxInt96(data []Int96) (max Int96) func MaxLenInt96(data []Int96) int func MinInt96(data []Int96) (min Int96) func MinMaxInt96(data []Int96) (min, max Int96) func OrderOfInt96(data []Int96) int func Int96.Less(j Int96) bool func github.com/parquet-go/parquet-go.Int96Value(value Int96) parquet.Value func github.com/parquet-go/parquet-go.Int96Reader.ReadInt96s(values []Int96) (int, error) func github.com/parquet-go/parquet-go.Int96Writer.WriteInt96s(values []Int96) (int, error) func github.com/parquet-go/parquet-go/encoding.Int96Values(values []Int96) encoding.Values func github.com/parquet-go/parquet-go/encoding.Encoding.DecodeInt96(dst []Int96, src []byte) ([]Int96, error) func github.com/parquet-go/parquet-go/encoding.Encoding.EncodeInt96(dst []byte, src []Int96) ([]byte, error) func github.com/parquet-go/parquet-go/encoding.NotSupported.DecodeInt96(dst []Int96, src []byte) ([]Int96, error) func github.com/parquet-go/parquet-go/encoding.NotSupported.EncodeInt96(dst []byte, src []Int96) ([]byte, error) func github.com/parquet-go/parquet-go/encoding/plain.AppendInt96(b []byte, v Int96) []byte func github.com/parquet-go/parquet-go/encoding/plain.Int96(v Int96) []byte func github.com/parquet-go/parquet-go/encoding/plain.(*Encoding).DecodeInt96(dst []Int96, src []byte) ([]Int96, error) func github.com/parquet-go/parquet-go/encoding/plain.(*Encoding).EncodeInt96(dst []byte, src []Int96) ([]byte, error)
Package-Level Functions (total 7)
Int32ToInt96 converts a int32 value to a Int96.
Int64ToInt96 converts a int64 value to Int96.
func MaxInt96(data []Int96) (max Int96)
func MaxLenInt96(data []Int96) int
func MinInt96(data []Int96) (min Int96)
func MinMaxInt96(data []Int96) (min, max Int96)
func OrderOfInt96(data []Int96) int
Package-Level Constants (total 22)
An embedded BSON document A BSON document embedded within a single BINARY column.
A Date Stored as days since Unix epoch, encoded as the INT32 physical type.
A decimal value. This may be used to annotate binary or fixed primitive types. The underlying byte array stores the unscaled value encoded as two's complement using big-endian byte order (the most significant byte is the zeroth element). The value of the decimal is the value * 10^{-scale}. This must be accompanied by a (maximum) precision and a scale in the SchemaElement. The precision specifies the number of digits in the decimal and the scale stores the location of the decimal point. For example 1.23 would have precision 3 (3 total digits) and scale 2 (the decimal point is 2 digits over).
an enum is converted into a binary field
const Int16 ConvertedType = 16
const Int32 ConvertedType = 17
const Int64 ConvertedType = 18
A signed integer value. The number describes the maximum number of meaningful data bits in the stored value. 8, 16 and 32 bit values are stored using the INT32 physical type. 64 bit values are stored using the INT64 physical type.
An interval of time This type annotates data stored as a FIXED_LEN_BYTE_ARRAY of length 12 This data is composed of three separate little endian unsigned integers. Each stores a component of a duration of time. The first integer identifies the number of months associated with the duration, the second identifies the number of days associated with the duration and the third identifies the number of milliseconds associated with the provided duration. This duration of time is independent of any particular timezone or date.
An embedded JSON document A JSON document embedded within a single UTF8 column.
a list is converted into an optional field containing a repeated field for its values
a map is converted as an optional field containing a repeated key/value pair
a key/value pair is converted into a group of two fields
A time. The total number of microseconds since midnight. The value is stored as an INT64 physical type.
A time The total number of milliseconds since midnight. The value is stored as an INT32 physical type.
A date/time combination Date and time recorded as microseconds since the Unix epoch. The value is stored as an INT64 physical type.
A date/time combination Date and time recorded as milliseconds since the Unix epoch. Recorded as a physical type of INT64.
const Uint16 ConvertedType = 12
const Uint32 ConvertedType = 13
const Uint64 ConvertedType = 14
An unsigned integer value. The number describes the maximum number of meaningful data bits in the stored value. 8, 16 and 32 bit values are stored using the INT32 physical type. 64 bit values are stored using the INT64 physical type.
a BYTE_ARRAY actually contains UTF8 encoded chars