org.locationtech.geomesa.fs.storage.api
Handle to the file context, root path and configuration
Get the full paths to any files contained in the partition
Get the full paths to any files contained in the partition
partition
file paths
Get a reader for all relevant partitions
Get a reader for all relevant partitions
query
restrict results to a single partition
suggested threads used for reading data files
reader
Gets a modifying writer.
Gets a modifying writer. This method is thread-safe and can be called multiple times, although if a feature is modified multiple times concurrently, the last update 'wins'. There is no guarantee that any concurrent modifications will be reflected in the returned writer.
the filter used to select features for modification
restrict results to a single partition (writes will go to the appropriate partition, regardless)
suggested threads used for reading data files
Get a writer for a given partition.
Get a writer for a given partition. This method is thread-safe and can be called multiple times, although this can result in multiple data files.
partition
writer
The metadata for this storage instance
The metadata for this storage instance
metadata
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 partitions that match a given filter.
Get partitions that match a given filter. Each set of partitions will have a simplified filter that should be applied to that set
If there are no partitions that match the filter, an empty list will be returned
partitions and predicates for each partition
Gets a list of partitions that match the given filter
Gets a list of partitions that match the given filter
partitions
Pass through to get all partitions from the metadata
Persists simple features to a file system and provides query access. Storage implementations are fairly 'lightweight', in that all state is captured in the metadata instance