|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neodatis.odb.impl.core.query.criteria.CriteriaQueryExecutionPlan
public class CriteriaQueryExecutionPlan
A simple Criteria execution plan Check if the query can use index and tries to find the best index to be used
Field Summary | |
---|---|
protected ClassInfo |
classInfo
|
protected ClassInfoIndex |
classInfoIndex
|
protected java.lang.String |
details
To keep the execution detail |
protected long |
end
to keep track of the end date time of the plan |
protected CriteriaQuery |
query
|
protected long |
start
to keep track of the start date time of the plan |
protected boolean |
useIndex
|
Constructor Summary | |
---|---|
CriteriaQueryExecutionPlan()
|
|
CriteriaQueryExecutionPlan(ClassInfo classInfo,
CriteriaQuery query)
|
Method Summary | |
---|---|
void |
end()
|
protected int[] |
getAllInvolvedFieldIds(IOdbList<java.lang.String> fields)
Transform a list of field names into a list of field ids |
java.lang.String |
getDetails()
|
long |
getDuration()
|
ClassInfoIndex |
getIndex()
|
protected void |
init()
|
void |
start()
|
boolean |
useIndex()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient ClassInfo classInfo
protected transient CriteriaQuery query
protected boolean useIndex
protected transient ClassInfoIndex classInfoIndex
protected long start
protected long end
protected java.lang.String details
Constructor Detail |
---|
public CriteriaQueryExecutionPlan()
public CriteriaQueryExecutionPlan(ClassInfo classInfo, CriteriaQuery query)
Method Detail |
---|
protected void init()
protected int[] getAllInvolvedFieldIds(IOdbList<java.lang.String> fields)
fields
-
public ClassInfoIndex getIndex()
getIndex
in interface IQueryExecutionPlan
public boolean useIndex()
useIndex
in interface IQueryExecutionPlan
public java.lang.String getDetails()
getDetails
in interface IQueryExecutionPlan
public void end()
end
in interface IQueryExecutionPlan
public long getDuration()
getDuration
in interface IQueryExecutionPlan
public void start()
start
in interface IQueryExecutionPlan
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |