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 TypeMethodDescriptionintio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocation.Formatlonglong @Nullable []The row group sizes may not be present.longgetSize()
-
Method Details
-
getFormat
public io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocation.Format getFormat()- Specified by:
getFormatin interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot
-
getSize
public long getSize()- Specified by:
getSizein interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot
-
getLastModifiedTimeMillis
public long getLastModifiedTimeMillis()- Specified by:
getLastModifiedTimeMillisin interfaceio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot
-
getColumnVersion
public int getColumnVersion()- Specified by:
getColumnVersionin 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
-