K
- The type of the record's keyV
- The type of the record's value
public interface RecordInfoProvider<K,V>
Modifier and Type | Method and Description |
---|---|
boolean |
getExtraFields(java.util.Map<java.lang.String,java.lang.String> extraFields)
If the current record contains other fields different to id and geometry that are desired to be stored for fast access, they should be returned here by adding them to the passed map.
|
oracle.spatial.geometry.JGeometry |
getGeometry()
Gets the geometry of the current record
|
java.lang.String |
getId()
Gets the id of the current record
|
void |
setCurrentRecord(K key, V value)
Sets the record's key and value.
|
void setCurrentRecord(K key, V value) throws java.lang.Exception
key
- A record's keyvalue
- A record's valuejava.lang.Exception
java.lang.String getId()
oracle.spatial.geometry.JGeometry getGeometry()
boolean getExtraFields(java.util.Map<java.lang.String,java.lang.String> extraFields)
extraFields
- An empty map where the extra fields can be addedCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.