org.locationtech.geomesa.fs.storage.api
Add (or update) metadata for a partition
Add (or update) metadata for a partition
partition
The encoding of the underlying data files
The encoding of the underlying data files
encoding
Get a partition by name.
Get a partition by name. Ensure that reload
has been invoked at least once before calling this method
partition name
partition metadata, if partition exists
Get all partitions, with an optional prefix filter.
Get all partitions, with an optional prefix filter. Ensure that reload
has been invoked at least
once before calling this method
prefix used to match partition names
all partitions
Are partitions stored as leaves (multiple partitions in a single folder), or does each partition have a unique folder.
Are partitions stored as leaves (multiple partitions in a single folder), or does each partition have a unique folder. Using leaf storage can reduce the level of nesting and make file system operations faster in some cases.
leaf
Update (or delete) metadata for a partition
Update (or delete) metadata for a partition
partition
The partition scheme used to partition features for storage and querying
The partition scheme used to partition features for storage and querying
partition scheme
The schema for SimpleFeatures stored in the file system storage
The schema for SimpleFeatures stored in the file system storage
schema
Compact a partition - merge multiple data files into a single file.
Compact a partition - merge multiple data files into a single file.
Care should be taken with this method. Currently, there is no guarantee for correct behavior if multiple threads or storage instances attempt to compact the same partition simultaneously.
partition to compact, or all partitions
suggested threads to use for file system operations
replaced with compact(Option[String], Option[Long], Int)
Compact a partition - merge multiple data files into a single file.
Compact a partition - merge multiple data files into a single file.
Care should be taken with this method. Currently, there is no guarantee for correct behavior if multiple threads or storage instances attempt to compact the same partition simultaneously.
partition to compact, or all partitions
approximate target size of files, in bytes
suggested threads to use for file system operations
Get a previously set key-value pair
Get a previously set key-value pair
key
Invalidate any cached state
Set a key-value pair
Set a key-value pair
key
value
Overwrite any existing partitions
Overwrite any existing partitions
partitions
Metadata interface for managing storage partitions. Metadata implementations can be fairly expensive to instantiate, as they maintain all the partitions and files for a given storage instance. Generally, they may not load any partition state until
reload
is invoked - this allows for fast access in the cases where partition state is not required (e.g. access to partition scheme, blind writes, etc)