Class IcebergTableMetadata
java.lang.Object
org.elasticsearch.xpack.esql.datasource.iceberg.IcebergTableMetadata
- All Implemented Interfaces:
ExternalSourceMetadata,SourceMetadata
Metadata for an Iceberg table or Parquet file.
Contains schema information resolved from Iceberg/Parquet metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionIcebergTableMetadata(String tablePath, org.apache.iceberg.Schema schema, S3Configuration s3Config, String sourceType) IcebergTableMetadata(String tablePath, org.apache.iceberg.Schema schema, S3Configuration s3Config, String sourceType, String metadataLocation) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.esql.datasources.spi.SourceMetadata
config, partitionColumns, sourceMetadata, statistics
-
Constructor Details
-
IcebergTableMetadata
public IcebergTableMetadata(String tablePath, org.apache.iceberg.Schema schema, S3Configuration s3Config, String sourceType) -
IcebergTableMetadata
public IcebergTableMetadata(String tablePath, org.apache.iceberg.Schema schema, S3Configuration s3Config, String sourceType, String metadataLocation)
-
-
Method Details
-
tablePath
- Specified by:
tablePathin interfaceExternalSourceMetadata
-
attributes
- Specified by:
attributesin interfaceExternalSourceMetadata
-
sourceType
- Specified by:
sourceTypein interfaceSourceMetadata
-
icebergSchema
public org.apache.iceberg.Schema icebergSchema()Returns the Iceberg schema for this table. This is the native Iceberg schema, not the ESQL schema. -
schema
- Specified by:
schemain interfaceExternalSourceMetadata- Specified by:
schemain interfaceSourceMetadata
-
location
- Specified by:
locationin interfaceExternalSourceMetadata- Specified by:
locationin interfaceSourceMetadata
-
s3Config
-
metadataLocation
-
equals
-
hashCode
public int hashCode() -
toString
-