org.neodatis.odb.core.query.execution
Class IndexTool

java.lang.Object
  extended by org.neodatis.odb.core.query.execution.IndexTool

public class IndexTool
extends java.lang.Object


Constructor Summary
IndexTool()
           
 
Method Summary
static OdbComparable buildIndexKey(java.lang.String indexName, AttributeValuesMap values, java.lang.String[] fields)
           
static OdbComparable buildIndexKey(java.lang.String indexName, NonNativeObjectInfo oi, int[] fieldIds)
           
static OdbComparable computeKey(ClassInfo ci, ClassInfoIndex index, CriteriaQuery query)
          Take the fields of the index and take value from the query
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexTool

public IndexTool()
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 involved
index - The index
query -
Returns:
The key of the index