Class TableLocationMetadataIndex
java.lang.Object
com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex
public class TableLocationMetadataIndex extends Object
Table location metadata index support, in order to avoid depending on filesystem metadata caching for performance
where possible.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TableLocationMetadataIndex.TableLocationSnapshot
Immutable snapshot of a table location, providing access to all key and state fields, constructed using a consistent copy of the state fields. -
Field Summary
Fields Modifier and Type Field Description static int
CURRENT_VERSION
static int
FIRST_SUPPORTED_VERSION
-
Constructor Summary
Constructors Constructor Description TableLocationMetadataIndex(TableLocationMetadataIndex.TableLocationSnapshot[] tableLocationSnapshots)
Internal-only constructor from an array of snapshots. -
Method Summary
-
Field Details
-
FIRST_SUPPORTED_VERSION
public static final int FIRST_SUPPORTED_VERSION- See Also:
- Constant Field Values
-
CURRENT_VERSION
public static final int CURRENT_VERSION- See Also:
- Constant Field Values
-
-
Constructor Details
-
TableLocationMetadataIndex
@VisibleForTesting public TableLocationMetadataIndex(@NotNull TableLocationMetadataIndex.TableLocationSnapshot[] tableLocationSnapshots)Internal-only constructor from an array of snapshots.- Parameters:
tableLocationSnapshots
- The array of snapshots
-