ColumnChunk
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- bloomFilterLength() : int|null
- Null when the writer did not record it: the header is then read before the bitset.
- bloomFilterOffset() : int|null
- Null when the chunk has no bloom filter.
- codec() : Compressions
- columnIndex() : IndexLocation|null
- dataPageOffset() : int
- dictionaryPageOffset() : int|null
- encodings() : array<string|int, Encodings>
- fileOffset() : int
- flatPath() : string
- fromThrift() : self
- offsetIndex() : IndexLocation|null
- pageOffset() : int
- statistics() : Statistics|null
- totalCompressedSize() : int
- totalUncompressedSize() : int
- toThrift() : ColumnChunk
- type() : PhysicalType
- valuesCount() : int
- withLocations() : self
- This chunk with its page index and its bloom filter (header and bitset) written at the given locations; a location left out is kept.
Methods
__construct()
public
__construct(PhysicalType $type, Compressions $codec, int $valuesCount, int $fileOffset, array<string|int, string> $path, array<string|int, Encodings> $encodings, int $totalCompressedSize, int $totalUncompressedSize, null|int $dictionaryPageOffset, int $dataPageOffset, null|int $indexPageOffset, Statistics|null $statistics[, IndexLocation|null $columnIndex = null ][, IndexLocation|null $offsetIndex = null ][, int|null $bloomFilterOffset = null ][, int|null $bloomFilterLength = null ]) : mixed
Parameters
- $type : PhysicalType
- $codec : Compressions
- $valuesCount : int
- $fileOffset : int
- $path : array<string|int, string>
- $encodings : array<string|int, Encodings>
- $totalCompressedSize : int
- $totalUncompressedSize : int
- $dictionaryPageOffset : null|int
- $dataPageOffset : int
- $indexPageOffset : null|int
- $statistics : Statistics|null
- $columnIndex : IndexLocation|null = null
- $offsetIndex : IndexLocation|null = null
- $bloomFilterOffset : int|null = null
- $bloomFilterLength : int|null = null
bloomFilterLength()
Null when the writer did not record it: the header is then read before the bitset.
public
bloomFilterLength() : int|null
Return values
int|nullbloomFilterOffset()
Null when the chunk has no bloom filter.
public
bloomFilterOffset() : int|null
Return values
int|nullcodec()
public
codec() : Compressions
Return values
CompressionscolumnIndex()
public
columnIndex() : IndexLocation|null
Return values
IndexLocation|nulldataPageOffset()
public
dataPageOffset() : int
Return values
intdictionaryPageOffset()
public
dictionaryPageOffset() : int|null
Return values
int|nullencodings()
public
encodings() : array<string|int, Encodings>
Return values
array<string|int, Encodings>fileOffset()
public
fileOffset() : int
Return values
intflatPath()
public
flatPath() : string
Return values
stringfromThrift()
public
static fromThrift(ColumnChunk $thrift) : self
Parameters
- $thrift : ColumnChunk
Return values
selfoffsetIndex()
public
offsetIndex() : IndexLocation|null
Return values
IndexLocation|nullpageOffset()
public
pageOffset() : int
Return values
intstatistics()
public
statistics() : Statistics|null
Return values
Statistics|nulltotalCompressedSize()
public
totalCompressedSize() : int
Return values
inttotalUncompressedSize()
public
totalUncompressedSize() : int
Return values
inttoThrift()
public
toThrift() : ColumnChunk
Return values
ColumnChunktype()
public
type() : PhysicalType
Return values
PhysicalTypevaluesCount()
public
valuesCount() : int
Return values
intwithLocations()
This chunk with its page index and its bloom filter (header and bitset) written at the given locations; a location left out is kept.
public
withLocations([IndexLocation|null $columnIndex = null ][, IndexLocation|null $offsetIndex = null ][, int|null $bloomFilterOffset = null ][, int|null $bloomFilterLength = null ]) : self
Parameters
- $columnIndex : IndexLocation|null = null
- $offsetIndex : IndexLocation|null = null
- $bloomFilterOffset : int|null = null
- $bloomFilterLength : int|null = null