public static interface FileSystemDataFormatter.DataIndexFormatter
Modifier and Type | Method and Description |
---|---|
byte[] |
getDataId(String fileName,
String typeName)
Get the data ID for a given file name.
|
default String |
getDirectoryName(String typeName)
Gives the formatter an opportunity to override the default directory for the data index with
this type name.
|
byte[] |
getFileContents(String typeName,
byte[] dataId,
GeoWaveValue value)
When using secondary indexing, this is called for storing the data values
|
String |
getFileName(String typeName,
byte[] dataId)
When using secondary indexing, this is called for storing the data values
|
GeoWaveValue |
getValue(String fileName,
String typeName,
byte[] dataId,
byte[] fileContents)
Get the geowave value for a given file name and file contents.
|
byte[] getDataId(String fileName, String typeName)
fileName
- the file nametypeName
- the type nameGeoWaveValue getValue(String fileName, String typeName, byte[] dataId, byte[] fileContents)
fileName
- the file nametypeName
- the type namedataId
- the data IDfileContents
- the contents of the fileString getFileName(String typeName, byte[] dataId)
typeName
- the DataTypeAdapter type namedataId
- the data IDbyte[] getFileContents(String typeName, byte[] dataId, GeoWaveValue value)
typeName
- the DataTypeAdapter type namedataId
- the data IDvalue
- the valuedefault String getDirectoryName(String typeName)
typeName
- the type nameCopyright © 2013–2022. All rights reserved.