Package org.apache.sis.storage
Class DataOptionKey<T>
java.lang.Object
org.apache.sis.setup.OptionKey<T>
org.apache.sis.storage.DataOptionKey<T>
- Type Parameters:
T- the type of option values.
- All Implemented Interfaces:
Serializable
Keys in a map of options for configuring the way data are read or written to a storage.
DataOptionKey extends OptionKey with options about features, coverages
or other kinds of structure that are specific to some data formats.- Since:
- 1.0
- Version:
- 1.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OptionKey<org.opengis.referencing.crs.CoordinateReferenceSystem>The coordinate reference system (CRS) of data to use if not explicitly defined.static final OptionKey<FoliationRepresentation>Whether to assemble trajectory fragments (distinct CSV lines) into a singleFeatureinstance forming a foliation.static final OptionKey<StoreListeners>The listeners to declare as the parent of the data store listeners.private static final longFor cross-version compatibility.Fields inherited from class org.apache.sis.setup.OptionKey
BYTE_BUFFER, ENCODING, GEOMETRY_LIBRARY, INDENTATION, LOCALE, OPEN_OPTIONS, TIMEZONE, URL_ENCODING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDataOptionKey(String name, Class<T> type) Creates a new key of the given name. -
Method Summary
Methods inherited from class org.apache.sis.setup.OptionKey
equals, getElementType, getName, getValueFrom, hashCode, setValueInto, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
DEFAULT_CRS
The coordinate reference system (CRS) of data to use if not explicitly defined. This option can be used when the file to read does not describe itself the data CRS. For example, this option can be used when reading ASCII Grid without CRS information, but is ignored if the ASCII Grid file is accompanied by a*.prjfile giving the CRS.- Since:
- 1.2
-
FOLIATION_REPRESENTATION
Whether to assemble trajectory fragments (distinct CSV lines) into a singleFeatureinstance forming a foliation. This is ignored if the file does not seem to contain moving features.- Since:
- 1.0
-
PARENT_LISTENERS
The listeners to declare as the parent of the data store listeners. This option can be used when theDataStoreto open is itself a child of anAggregate.- Since:
- 1.3
-
-
Constructor Details
-
DataOptionKey
Creates a new key of the given name.
-