Class RowTrackingMetadataDomain
Object
io.delta.kernel.internal.metadatadomain.JsonMetadataDomain
io.delta.kernel.internal.rowtracking.RowTrackingMetadataDomain
Represents the metadata domain for row tracking.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRowTrackingMetadataDomain(long rowIdHighWaterMark) Constructs a RowTrackingMetadataDomain with the specified row ID high water mark. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RowTrackingMetadataDomainfromJsonConfiguration(String json) Creates an instance ofRowTrackingMetadataDomainfrom a JSON configuration string.static Optional<RowTrackingMetadataDomain> fromSnapshot(SnapshotImpl snapshot) Creates an instance ofRowTrackingMetadataDomainfrom aSnapshotImpl.Returns the name of the domain.longinthashCode()toString()Methods inherited from class io.delta.kernel.internal.metadatadomain.JsonMetadataDomain
toDomainMetadata, toJsonConfiguration
-
Field Details
-
DOMAIN_NAME
- See Also:
-
MISSING_ROW_ID_HIGH_WATERMARK
public static final long MISSING_ROW_ID_HIGH_WATERMARK- See Also:
-
-
Constructor Details
-
RowTrackingMetadataDomain
public RowTrackingMetadataDomain(long rowIdHighWaterMark) Constructs a RowTrackingMetadataDomain with the specified row ID high water mark.- Parameters:
rowIdHighWaterMark- the row ID high water mark
-
-
Method Details
-
fromJsonConfiguration
Creates an instance ofRowTrackingMetadataDomainfrom a JSON configuration string.- Parameters:
json- the JSON configuration string- Returns:
- an instance of
RowTrackingMetadataDomain
-
fromSnapshot
Creates an instance ofRowTrackingMetadataDomainfrom aSnapshotImpl.- Parameters:
snapshot- the snapshot instance- Returns:
- an
Optionalcontaining theRowTrackingMetadataDomainif present
-
getDomainName
Description copied from class:JsonMetadataDomainReturns the name of the domain.- Specified by:
getDomainNamein classJsonMetadataDomain- Returns:
- the domain name
-
getRowIdHighWaterMark
public long getRowIdHighWaterMark() -
equals
-
hashCode
public int hashCode() -
toString
-