Package org.apache.iceberg.flink.source
Class ScanContext
- java.lang.Object
-
- org.apache.iceberg.flink.source.ScanContext
-
- All Implemented Interfaces:
java.io.Serializable
@Internal public class ScanContext extends java.lang.Object implements java.io.SerializableContext object with optional arguments for a Flink Scan.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScanContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LongasOfTimestamp()java.lang.Stringbranch()static ScanContext.Builderbuilder()booleancaseSensitive()ScanContextcopyWithAppendsBetween(java.lang.Long newStartSnapshotId, long newEndSnapshotId)ScanContextcopyWithSnapshotId(long newSnapshotId)java.lang.LongendSnapshotId()java.lang.StringendTag()booleanexposeLocality()java.util.List<Expression>filters()booleanincludeColumnStats()java.util.Collection<java.lang.String>includeStatsForColumns()booleanisStreaming()longlimit()intmaxAllowedPlanningFailures()intmaxPlanningSnapshotCount()java.time.DurationmonitorInterval()java.lang.StringnameMapping()java.lang.IntegerplanParallelism()Schemaproject()java.lang.LongsnapshotId()java.lang.IntegersplitLookback()java.lang.LongsplitOpenFileCost()java.lang.LongsplitSize()java.lang.LongstartSnapshotId()java.lang.LongstartSnapshotTimestamp()java.lang.StringstartTag()StreamingStartingStrategystreamingStartingStrategy()java.lang.Stringtag()java.lang.StringwatermarkColumn()java.util.concurrent.TimeUnitwatermarkColumnTimeUnit()
-
-
-
Method Detail
-
caseSensitive
public boolean caseSensitive()
-
snapshotId
public java.lang.Long snapshotId()
-
branch
public java.lang.String branch()
-
tag
public java.lang.String tag()
-
startTag
public java.lang.String startTag()
-
endTag
public java.lang.String endTag()
-
streamingStartingStrategy
public StreamingStartingStrategy streamingStartingStrategy()
-
startSnapshotTimestamp
public java.lang.Long startSnapshotTimestamp()
-
startSnapshotId
public java.lang.Long startSnapshotId()
-
endSnapshotId
public java.lang.Long endSnapshotId()
-
asOfTimestamp
public java.lang.Long asOfTimestamp()
-
splitSize
public java.lang.Long splitSize()
-
splitLookback
public java.lang.Integer splitLookback()
-
splitOpenFileCost
public java.lang.Long splitOpenFileCost()
-
isStreaming
public boolean isStreaming()
-
monitorInterval
public java.time.Duration monitorInterval()
-
nameMapping
public java.lang.String nameMapping()
-
project
public Schema project()
-
filters
public java.util.List<Expression> filters()
-
limit
public long limit()
-
includeColumnStats
public boolean includeColumnStats()
-
includeStatsForColumns
public java.util.Collection<java.lang.String> includeStatsForColumns()
-
exposeLocality
public boolean exposeLocality()
-
planParallelism
public java.lang.Integer planParallelism()
-
maxPlanningSnapshotCount
public int maxPlanningSnapshotCount()
-
maxAllowedPlanningFailures
public int maxAllowedPlanningFailures()
-
watermarkColumn
public java.lang.String watermarkColumn()
-
watermarkColumnTimeUnit
public java.util.concurrent.TimeUnit watermarkColumnTimeUnit()
-
copyWithAppendsBetween
public ScanContext copyWithAppendsBetween(java.lang.Long newStartSnapshotId, long newEndSnapshotId)
-
copyWithSnapshotId
public ScanContext copyWithSnapshotId(long newSnapshotId)
-
builder
public static ScanContext.Builder builder()
-
-