Module org.apache.sis.storage
Package org.apache.sis.storage

# Class DataOptionKey<T>

Object
OptionKey<T>
DataOptionKey<T>

Type Parameters:
  `T` - the type of option values.

All Implemented Interfaces:
  `Serializable`

public final class DataOptionKey<T> extends OptionKey<T>
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
See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final OptionKey<CoordinateReferenceSystem>`
  `DEFAULT_CRS`
  The coordinate reference system (CRS) of data to use if not explicitly defined.
  `static final OptionKey<FoliationRepresentation>`
  `FOLIATION_REPRESENTATION`
  Whether to assemble trajectory fragments (distinct CSV lines) into a single `Feature` instance forming a foliation.
  `static final OptionKey<StoreListeners>`
  `PARENT_LISTENERS`
  The listeners to declare as the parent of the data store listeners.

  ### Fields inherited from class OptionKey

  `BYTE_BUFFER, ENCODING, GEOMETRY_LIBRARY, INDENTATION, LOCALE, OPEN_OPTIONS, TIMEZONE, URL_ENCODING`

- ## Method Summary

  ### Methods inherited from class OptionKey

  `equals, getElementType, getName, getValueFrom, hashCode, setValueInto, toString`

  ### Methods inherited from class Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### DEFAULT_CRS

    public static final OptionKey<CoordinateReferenceSystem> 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 `*.prj` file giving the CRS.
    Since:
      1.2

  - ### FOLIATION_REPRESENTATION

    public static final OptionKey<FoliationRepresentation> FOLIATION_REPRESENTATION
    Whether to assemble trajectory fragments (distinct CSV lines) into a single `Feature` instance forming a foliation. This is ignored if the file does not seem to contain moving features.
    Since:
      1.0

  - ### PARENT_LISTENERS

    public static final OptionKey<StoreListeners> PARENT_LISTENERS
    The listeners to declare as the parent of the data store listeners. This option can be used when the `DataStore` to open is itself a child of an `Aggregate`.
    Since:
      1.3