Class SimpleLocationSnapshot
java.lang.Object
io.deephaven.enterprise.locations.hive.SimpleLocationSnapshot
- All Implemented Interfaces:
io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot
public class SimpleLocationSnapshot
extends Object
implements io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot
A simple immutable location snapshot.
-
Method Summary
Modifier and TypeMethodDescriptionint
io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocation.Format
long
long @Nullable []
The row group sizes may not be present.long
getSize()
-
Method Details
-
getFormat
public io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocation.Format getFormat()- Specified by:
getFormat
in interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot
-
getSize
public long getSize()- Specified by:
getSize
in interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot
-
getLastModifiedTimeMillis
public long getLastModifiedTimeMillis()- Specified by:
getLastModifiedTimeMillis
in interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot
-
getColumnVersion
public int getColumnVersion()- Specified by:
getColumnVersion
in interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot
-
getRowGroupSizes
public long @Nullable [] getRowGroupSizes()The row group sizes may not be present. This could be for a Deephaven column location or a Parquet location that we simply do not have them recorded.- Returns:
- the size of each row group in this location; null if unknown
-