Interface DiscoveryResult
- All Known Implementing Classes:
- DiscoveryResultImpl
public interface DiscoveryResult
The result of an Iceberg table 
discovery.- 
Method SummaryModifier and TypeMethodDescriptiondefault voidDeploy the discovered table as a DeephavenSchema, embedding the endpoint directly into the schema.default voidDeploy the discovered table as a DeephavenSchema, referencing the endpoint byname.@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.
- 
Method Details- 
getConfigGet theDiscoveryConfigused for the discovery.- Returns:
- the configuration.
 
- 
getNamespaceGet the namespace of the table. IfDiscoveryConfig.namespace()was not provided, then it is derived from the Iceberg Table Identifier- Returns:
- the namespace of the table.
 
- 
getTableNameGet the name of the table. IfDiscoveryConfig.tableName()was not provided, then it is derived from the Iceberg Table Identifier.- Returns:
- the table name.
 
- 
getIcebergTableAdapterGet the discoveredIcebergTableAdapter.- Returns:
- the Iceberg IcebergTableAdapter
 
- 
getReadInstructionsGet the completedIcebergReadInstructionsthat can be used to fetch DeephavenTables.- Returns:
- the IcebergReadInstructions
 
- 
getDataInstructionsProviderDataInstructionsProviderLoader getDataInstructionsProvider()Get theDataInstructionsProviderLoaderfor use with Iceberg locations.- Returns:
- the DataInstructionsProviderLoader
 
- 
getTableIdentifierorg.apache.iceberg.catalog.TableIdentifier getTableIdentifier()Get theTableIdentifierused to discover the table.- Returns:
- the TableIdentifier
 
- 
deployWithEndpointReferenceDeploy the discovered table as a DeephavenSchema, referencing the endpoint byname. This will fail if theendpointwas not created with aIcebergEndpoint.Named.- Throws:
- IOException- if the endpoint could not be desrialized
 
- 
deployWithEmbeddedEndpointDeploy the discovered table as a DeephavenSchema, embedding the endpoint directly into the schema.- Throws:
- IOException- if the endpoint could not be serialized.
 
 
-