public class IcebergStorage
extends org.apache.pig.LoadFunc
implements org.apache.pig.LoadMetadata, org.apache.pig.LoadPredicatePushdown, org.apache.pig.LoadPushDown
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PIG_ICEBERG_TABLES_IMPL |
Constructor and Description |
---|
IcebergStorage() |
Modifier and Type | Method and Description |
---|---|
java.util.List<org.apache.pig.LoadPushDown.OperatorSet> |
getFeatures() |
org.apache.hadoop.mapreduce.InputFormat |
getInputFormat() |
org.apache.pig.data.Tuple |
getNext() |
java.lang.String[] |
getPartitionKeys(java.lang.String location,
org.apache.hadoop.mapreduce.Job job) |
java.util.List<java.lang.String> |
getPredicateFields(java.lang.String location,
org.apache.hadoop.mapreduce.Job job) |
org.apache.pig.ResourceSchema |
getSchema(java.lang.String location,
org.apache.hadoop.mapreduce.Job job) |
org.apache.pig.ResourceStatistics |
getStatistics(java.lang.String location,
org.apache.hadoop.mapreduce.Job job) |
org.apache.iceberg.relocated.com.google.common.collect.ImmutableList<org.apache.pig.Expression.OpType> |
getSupportedExpressionTypes() |
void |
prepareToRead(org.apache.hadoop.mapreduce.RecordReader newReader,
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigSplit split) |
org.apache.pig.LoadPushDown.RequiredFieldResponse |
pushProjection(org.apache.pig.LoadPushDown.RequiredFieldList requiredFieldList) |
java.lang.String |
relativeToAbsolutePath(java.lang.String location,
org.apache.hadoop.fs.Path curDir) |
void |
setLocation(java.lang.String location,
org.apache.hadoop.mapreduce.Job job) |
void |
setPartitionFilter(org.apache.pig.Expression partitionFilter) |
void |
setPushdownPredicate(org.apache.pig.Expression predicate) |
void |
setUDFContextSignature(java.lang.String newSignature) |
public static final java.lang.String PIG_ICEBERG_TABLES_IMPL
public void setLocation(java.lang.String location, org.apache.hadoop.mapreduce.Job job)
setLocation
in class org.apache.pig.LoadFunc
public org.apache.hadoop.mapreduce.InputFormat getInputFormat()
getInputFormat
in class org.apache.pig.LoadFunc
public org.apache.pig.data.Tuple getNext() throws java.io.IOException
getNext
in class org.apache.pig.LoadFunc
java.io.IOException
public void prepareToRead(org.apache.hadoop.mapreduce.RecordReader newReader, org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigSplit split)
prepareToRead
in class org.apache.pig.LoadFunc
public org.apache.pig.ResourceSchema getSchema(java.lang.String location, org.apache.hadoop.mapreduce.Job job) throws java.io.IOException
getSchema
in interface org.apache.pig.LoadMetadata
java.io.IOException
public org.apache.pig.ResourceStatistics getStatistics(java.lang.String location, org.apache.hadoop.mapreduce.Job job)
getStatistics
in interface org.apache.pig.LoadMetadata
public java.lang.String[] getPartitionKeys(java.lang.String location, org.apache.hadoop.mapreduce.Job job)
getPartitionKeys
in interface org.apache.pig.LoadMetadata
public void setPartitionFilter(org.apache.pig.Expression partitionFilter)
setPartitionFilter
in interface org.apache.pig.LoadMetadata
public java.util.List<java.lang.String> getPredicateFields(java.lang.String location, org.apache.hadoop.mapreduce.Job job) throws java.io.IOException
getPredicateFields
in interface org.apache.pig.LoadPredicatePushdown
java.io.IOException
public org.apache.iceberg.relocated.com.google.common.collect.ImmutableList<org.apache.pig.Expression.OpType> getSupportedExpressionTypes()
getSupportedExpressionTypes
in interface org.apache.pig.LoadPredicatePushdown
public void setPushdownPredicate(org.apache.pig.Expression predicate) throws java.io.IOException
setPushdownPredicate
in interface org.apache.pig.LoadPredicatePushdown
java.io.IOException
public java.util.List<org.apache.pig.LoadPushDown.OperatorSet> getFeatures()
getFeatures
in interface org.apache.pig.LoadPushDown
public org.apache.pig.LoadPushDown.RequiredFieldResponse pushProjection(org.apache.pig.LoadPushDown.RequiredFieldList requiredFieldList)
pushProjection
in interface org.apache.pig.LoadPushDown
public void setUDFContextSignature(java.lang.String newSignature)
setUDFContextSignature
in class org.apache.pig.LoadFunc
public java.lang.String relativeToAbsolutePath(java.lang.String location, org.apache.hadoop.fs.Path curDir) throws java.io.IOException
relativeToAbsolutePath
in class org.apache.pig.LoadFunc
java.io.IOException