Package io.deephaven.iceberg.layout
Class IcebergFlatLayout
java.lang.Object
io.deephaven.iceberg.layout.IcebergBaseLayout
io.deephaven.iceberg.layout.IcebergFlatLayout
- All Implemented Interfaces:
TableLocationKeyFinder<IcebergTableLocationKey>
Iceberg
location finder
for tables without partitions that will discover data files
from a Snapshot
-
Field Summary
Fields inherited from class io.deephaven.iceberg.layout.IcebergBaseLayout
tableAdapter
-
Constructor Summary
ConstructorsConstructorDescriptionIcebergFlatLayout
(@NotNull IcebergTableAdapter tableAdapter, @NotNull IcebergReadInstructions instructions, @NotNull DataInstructionsProviderLoader dataInstructionsProvider) Deprecated, for removal: This API element is subject to removal in a future version.IcebergFlatLayout
(@NotNull IcebergTableAdapter tableAdapter, @NotNull ParquetInstructions parquetInstructions, @NotNull SeekableChannelsProvider seekableChannelsProvider, @Nullable org.apache.iceberg.Snapshot snapshot) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected IcebergTableLocationKey
keyFromDataFile
(@NotNull org.apache.iceberg.PartitionSpec manifestPartitionSpec, @NotNull org.apache.iceberg.ManifestFile manifestFile, @NotNull org.apache.iceberg.DataFile dataFile, @NotNull URI fileUri, @NotNull SeekableChannelsProvider channelsProvider) toString()
Methods inherited from class io.deephaven.iceberg.layout.IcebergBaseLayout
computeSortedColumns, findKeys, locationKey, maybeUpdateSnapshot, updateSnapshot, updateSnapshot
-
Constructor Details
-
IcebergFlatLayout
@Deprecated(forRemoval=true) public IcebergFlatLayout(@NotNull @NotNull IcebergTableAdapter tableAdapter, @NotNull @NotNull IcebergReadInstructions instructions, @NotNull @NotNull DataInstructionsProviderLoader dataInstructionsProvider) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
tableAdapter
- TheIcebergTableAdapter
that will be used to access the table.instructions
- The instructions for customizations while reading.dataInstructionsProvider
- The provider for special instructions, to be used if special instructions not provided in theinstructions
.
-
IcebergFlatLayout
@Deprecated(forRemoval=true) public IcebergFlatLayout(@NotNull @NotNull IcebergTableAdapter tableAdapter, @NotNull @NotNull ParquetInstructions parquetInstructions, @NotNull @NotNull SeekableChannelsProvider seekableChannelsProvider, @Nullable @Nullable org.apache.iceberg.Snapshot snapshot) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
toString
-
keyFromDataFile
protected IcebergTableLocationKey keyFromDataFile(@NotNull @NotNull org.apache.iceberg.PartitionSpec manifestPartitionSpec, @NotNull @NotNull org.apache.iceberg.ManifestFile manifestFile, @NotNull @NotNull org.apache.iceberg.DataFile dataFile, @NotNull @NotNull URI fileUri, @NotNull @NotNull SeekableChannelsProvider channelsProvider) - Specified by:
keyFromDataFile
in classIcebergBaseLayout
-