Class DiscoveryResultImpl
java.lang.Object
io.deephaven.enterprise.iceberg.discovery.DiscoveryResultImpl
- All Implemented Interfaces:
- DiscoveryResult
The implementation of a 
DiscoveryResult- 
Constructor SummaryConstructorsConstructorDescriptionDiscoveryResultImpl(@NotNull DiscoveryConfig config, @NotNull IcebergTableAdapter tableAdapter, @NotNull IcebergReadInstructions readInstructions, @NotNull String namespace, @NotNull String tableName, DataInstructionsProviderLoader dataInstructionsProvider, org.apache.iceberg.catalog.TableIdentifier tableId) Create aDiscoveryResultImpl
- 
Method SummaryModifier and TypeMethodDescription@NotNull DiscoveryConfigGet theDiscoveryConfigused for the discovery.Get theDataInstructionsProviderLoaderfor use with Iceberg locations.@NotNull IcebergTableAdapterGet the discoveredIcebergTableAdapter.@NotNull StringGet the namespace of the table.@NotNull IcebergReadInstructionsGet the completedIcebergReadInstructionsthat can be used to fetch DeephavenTables.org.apache.iceberg.catalog.TableIdentifierGet theTableIdentifierused to discover the table.@NotNull StringGet the name of the table.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.enterprise.iceberg.discovery.DiscoveryResultdeployWithEmbeddedEndpoint, deployWithEndpointReference
- 
Constructor Details- 
DiscoveryResultImplpublic DiscoveryResultImpl(@NotNull @NotNull DiscoveryConfig config, @NotNull @NotNull IcebergTableAdapter tableAdapter, @NotNull @NotNull IcebergReadInstructions readInstructions, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, DataInstructionsProviderLoader dataInstructionsProvider, org.apache.iceberg.catalog.TableIdentifier tableId) Create aDiscoveryResultImpl- Parameters:
- config- the config
- namespace- the resolved namespace
- tableName- the resolved table name
- dataInstructionsProvider-
 
 
- 
- 
Method Details- 
getConfigDescription copied from interface:DiscoveryResultGet theDiscoveryConfigused for the discovery.- Specified by:
- getConfigin interface- DiscoveryResult
- Returns:
- the configuration.
 
- 
getNamespaceDescription copied from interface:DiscoveryResultGet the namespace of the table. IfDiscoveryConfig.namespace()was not provided, then it is derived from the Iceberg Table Identifier- Specified by:
- getNamespacein interface- DiscoveryResult
- Returns:
- the namespace of the table.
 
- 
getTableNameDescription copied from interface:DiscoveryResultGet the name of the table. IfDiscoveryConfig.tableName()was not provided, then it is derived from the Iceberg Table Identifier.- Specified by:
- getTableNamein interface- DiscoveryResult
- Returns:
- the table name.
 
- 
getIcebergTableAdapterDescription copied from interface:DiscoveryResultGet the discoveredIcebergTableAdapter.- Specified by:
- getIcebergTableAdapterin interface- DiscoveryResult
- Returns:
- the Iceberg IcebergTableAdapter
 
- 
getReadInstructionsDescription copied from interface:DiscoveryResultGet the completedIcebergReadInstructionsthat can be used to fetch DeephavenTables.- Specified by:
- getReadInstructionsin interface- DiscoveryResult
- Returns:
- the IcebergReadInstructions
 
- 
getDataInstructionsProviderDescription copied from interface:DiscoveryResultGet theDataInstructionsProviderLoaderfor use with Iceberg locations.- Specified by:
- getDataInstructionsProviderin interface- DiscoveryResult
- Returns:
- the DataInstructionsProviderLoader
 
- 
getTableIdentifierpublic org.apache.iceberg.catalog.TableIdentifier getTableIdentifier()Description copied from interface:DiscoveryResultGet theTableIdentifierused to discover the table.- Specified by:
- getTableIdentifierin interface- DiscoveryResult
- Returns:
- the TableIdentifier
 
 
-