com.healthmarketscience.jackcess.impl
Class IndexData.ColumnDescriptor

java.lang.Object
  extended by com.healthmarketscience.jackcess.impl.IndexData.ColumnDescriptor
All Implemented Interfaces:
Index.Column
Enclosing class:
IndexData

public abstract static class IndexData.ColumnDescriptor
extends Object
implements Index.Column

Information about the columns in an index. Also encodes new index values.


Method Summary
 ColumnImpl getColumn()
           
 int getColumnIndex()
           
 byte getFlags()
           
 String getName()
           
 boolean isAscending()
           
protected  boolean isNullValue(Object value)
           
 String toString()
           
protected abstract  void writeNonNullValue(Object value, ByteUtil.ByteStream bout)
           
protected  void writeValue(Object value, ByteUtil.ByteStream bout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getColumn

public ColumnImpl getColumn()
Specified by:
getColumn in interface Index.Column

getFlags

public byte getFlags()

isAscending

public boolean isAscending()
Specified by:
isAscending in interface Index.Column

getColumnIndex

public int getColumnIndex()
Specified by:
getColumnIndex in interface Index.Column

getName

public String getName()
Specified by:
getName in interface Index.Column

isNullValue

protected boolean isNullValue(Object value)

writeValue

protected final void writeValue(Object value,
                                ByteUtil.ByteStream bout)
                         throws IOException
Throws:
IOException

writeNonNullValue

protected abstract void writeNonNullValue(Object value,
                                          ByteUtil.ByteStream bout)
                                   throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2017 Health Market Science. All Rights Reserved.