org.neodatis.odb.core.query.execution
Class IndexTool
- java.lang.Object
-
- org.neodatis.odb.core.query.execution.IndexTool
-
public class IndexTool extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description IndexTool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static OdbComparablebuildIndexKey(java.lang.String indexName, AttributeValuesMap values, java.lang.String[] fields)static OdbComparablebuildIndexKey(java.lang.String indexName, NonNativeObjectInfo oi, int[] fieldIds)static OdbComparablecomputeKey(ClassInfo ci, ClassInfoIndex index, CriteriaQuery query)Take the fields of the index and take value from the query
-
-
-
Method Detail
-
buildIndexKey
public static OdbComparable buildIndexKey(java.lang.String indexName, NonNativeObjectInfo oi, int[] fieldIds)
-
buildIndexKey
public static OdbComparable buildIndexKey(java.lang.String indexName, AttributeValuesMap values, java.lang.String[] fields)
-
computeKey
public static OdbComparable computeKey(ClassInfo ci, ClassInfoIndex index, CriteriaQuery query)
Take the fields of the index and take value from the query- Parameters:
ci- The class info involvedindex- The indexquery-- Returns:
- The key of the index
-
-
DataMelt 3.0 © DataMelt by jWork.ORG