Package com.thingworx.types
Class InfoTableRowIndex
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
ValueCollectionList>
@ThingworxExtensionApiClass(since={6,6},
canInstantiate=true)
public class InfoTableRowIndex
extends HashMap<String,ValueCollectionList>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeys()
getRowsForKey
(String key) getUniqueRow
(String key) void
void
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
InfoTableRowIndex
public InfoTableRowIndex()
-
-
Method Details
-
index
@ThingworxExtensionApiMethod(since={6,6}) public void index(InfoTable data, ArrayList<String> fields, boolean isUnique) throws Exception - Throws:
Exception
- If an error occurs
-
reindex
@ThingworxExtensionApiMethod(since={6,6}) public void reindex(InfoTable data, boolean isUnique) throws Exception - Throws:
Exception
- If an error occurs
-
getKeys
- Throws:
Exception
- If an error occurs
-
getRowsForKey
@ThingworxExtensionApiMethod(since={6,6}) public ValueCollectionList getRowsForKey(String key) throws Exception - Throws:
Exception
- If an error occurs
-
getUniqueRow
@ThingworxExtensionApiMethod(since={6,6}) public ValueCollection getUniqueRow(String key) throws Exception - Throws:
Exception
- If an error occurs
-