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