Package org.apache.iceberg
Class TableMetadata.SnapshotLogEntry
- java.lang.Object
-
- org.apache.iceberg.TableMetadata.SnapshotLogEntry
-
- All Implemented Interfaces:
java.io.Serializable
,HistoryEntry
- Enclosing class:
- TableMetadata
public static class TableMetadata.SnapshotLogEntry extends java.lang.Object implements HistoryEntry
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
long
snapshotId()
long
timestampMillis()
java.lang.String
toString()
-
-
-
Method Detail
-
timestampMillis
public long timestampMillis()
- Specified by:
timestampMillis
in interfaceHistoryEntry
- Returns:
- the timestamp in milliseconds of the change
-
snapshotId
public long snapshotId()
- Specified by:
snapshotId
in interfaceHistoryEntry
- Returns:
- ID of the new current snapshot
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-