|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.join.plan.QueryPlanIndex
public class QueryPlanIndex
Specifies an index to build as part of an overall query plan.
Constructor Summary | |
---|---|
QueryPlanIndex(java.lang.String[][] indexProps)
Ctor. |
Method Summary | |
---|---|
int |
addIndex(java.lang.String[] indexProperties)
Add an index specification element. |
protected int |
getIndexNum(java.lang.String[] indexFields)
Find a matching index for the property names supplied. |
java.lang.String[][] |
getIndexProps()
Returns property names of all indexes. |
static java.lang.String |
print(QueryPlanIndex[] indexSpecs)
Print index specifications in readable format. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryPlanIndex(java.lang.String[][] indexProps)
indexProps
- - array of property names with the first dimension suplying the number of
distinct indexes. The second dimension can be empty and indicates a full table scan.Method Detail |
---|
public java.lang.String[][] getIndexProps()
protected int getIndexNum(java.lang.String[] indexFields)
indexFields
- - property names to search for
public int addIndex(java.lang.String[] indexProperties)
indexProperties
- - list of property names to index
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String print(QueryPlanIndex[] indexSpecs)
indexSpecs
- - define indexes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |