MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.opt.index
Class IndexSchema

java.lang.Object
  extended by ch.ethz.mxquery.opt.index.IndexSchema
All Implemented Interfaces:
Traversable
Direct Known Subclasses:
CompareLiteralIndexSchema, SimpleIndexSchema

public abstract class IndexSchema
extends java.lang.Object
implements Traversable


Constructor Summary
IndexSchema(int indexNb)
           
 
Method Summary
abstract  java.lang.String getColumnName(int position)
           
abstract  int getComparator(int position)
           
abstract  int getCompareType(int position)
           
 int getId()
           
 boolean isGroupByIndex()
           
 boolean isSimpleValueIndex()
           
 void setGroupByIndex(boolean groupByIndex)
           
 void setId(int indexNb)
          In some cases it is not possible to give a unique id at front
 void setSimpleValueIndex(boolean simpleValueIndex)
           
abstract  int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.ethz.mxquery.util.Traversable
traverse
 

Constructor Detail

IndexSchema

public IndexSchema(int indexNb)
Method Detail

size

public abstract int size()

getColumnName

public abstract java.lang.String getColumnName(int position)

getComparator

public abstract int getComparator(int position)

getCompareType

public abstract int getCompareType(int position)

getId

public int getId()

setId

public void setId(int indexNb)
In some cases it is not possible to give a unique id at front

Parameters:
indexNb -

isSimpleValueIndex

public boolean isSimpleValueIndex()

setSimpleValueIndex

public void setSimpleValueIndex(boolean simpleValueIndex)

setGroupByIndex

public void setGroupByIndex(boolean groupByIndex)

isGroupByIndex

public boolean isGroupByIndex()

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich