|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.ethz.mxquery.opt.index.IndexSchema
ch.ethz.mxquery.opt.expr.CompareLiteralIndexSchema
public final class CompareLiteralIndexSchema
This is just a simple helper class to transfer all indexable compare literals to the index interface
| Constructor Summary | |
|---|---|
CompareLiteralIndexSchema(int indexNb)
Creates a new IndexSchema for compare literals |
|
| Method Summary | |
|---|---|
java.lang.String |
getColumnName(int i)
|
int |
getComparator(int position)
|
int |
getCompareType(int position)
|
Token[] |
getEndTokens()
|
Token[][] |
getEndValues()
|
CompareLiteral |
getLiteral(int i)
|
Token[] |
getStartTokens()
|
Token[][] |
getStartValues()
|
void |
registerValue(CompareLiteral compareLiteral)
Registeres a new comparison at the index |
void |
resetEndPart()
Allows to reset the expressions which depend an a end variable |
void |
resetStartPart()
Allows to reset the expressions which depend an a start variable |
int |
size()
|
KXmlSerializer |
traverse(KXmlSerializer serializer)
|
| Methods inherited from class ch.ethz.mxquery.opt.index.IndexSchema |
|---|
getId, isGroupByIndex, isSimpleValueIndex, setGroupByIndex, setId, setSimpleValueIndex |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompareLiteralIndexSchema(int indexNb)
indexNb - Has to be a unique index number| Method Detail |
|---|
public void registerValue(CompareLiteral compareLiteral)
compareLiteral - The compare literalpublic int size()
size in class IndexSchemapublic CompareLiteral getLiteral(int i)
public java.lang.String getColumnName(int i)
getColumnName in class IndexSchemapublic int getComparator(int position)
getComparator in class IndexSchemapublic int getCompareType(int position)
getCompareType in class IndexSchemapublic void resetStartPart()
public void resetEndPart()
public Token[] getStartTokens()
throws MXQueryException
MXQueryException
public Token[][] getStartValues()
throws MXQueryException
MXQueryException
public Token[] getEndTokens()
throws MXQueryException
MXQueryException
public Token[][] getEndValues()
throws MXQueryException
MXQueryExceptionpublic KXmlSerializer traverse(KXmlSerializer serializer)
|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||