Package org.apache.iceberg
Class SnapshotRef
java.lang.Object
org.apache.iceberg.SnapshotRef
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic SnapshotRef.BuilderbranchBuilder(long snapshotId) static SnapshotRef.BuilderbuilderFor(long snapshotId, SnapshotRefType type) static SnapshotRef.BuilderbuilderFrom(SnapshotRef ref) static SnapshotRef.BuilderbuilderFrom(SnapshotRef ref, long snapshotId) Creates a ref builder from the given ref and its properties but the ref will now point to the given snapshotId.booleaninthashCode()booleanisBranch()booleanisTag()longstatic SnapshotRef.BuildertagBuilder(long snapshotId) toString()type()
- 
Field Details- 
MAIN_BRANCH- See Also:
 
 
- 
- 
Method Details- 
snapshotIdpublic long snapshotId()
- 
type
- 
isBranchpublic boolean isBranch()
- 
isTagpublic boolean isTag()
- 
minSnapshotsToKeep
- 
maxSnapshotAgeMs
- 
maxRefAgeMs
- 
equals
- 
hashCodepublic int hashCode()
- 
tagBuilder
- 
branchBuilder
- 
builderFrom
- 
builderFromCreates a ref builder from the given ref and its properties but the ref will now point to the given snapshotId.- Parameters:
- ref- Ref to build from
- snapshotId- snapshotID to use.
- Returns:
- ref builder with the same retention properties as given ref, but the ref will point to the passed in id
 
- 
builderFor
- 
toString
 
-