com.healthmarketscience.jackcess.impl
Class TableImpl.RowState

java.lang.Object
  extended by com.healthmarketscience.jackcess.impl.TableImpl.RowState
All Implemented Interfaces:
ErrorHandler.Location
Enclosing class:
TableImpl

public final class TableImpl.RowState
extends Object
implements ErrorHandler.Location

Maintains the state of reading/updating a row of data.

Usage:
Advanced: This class is for advanced/internal use.

Method Summary
 ErrorHandler getErrorHandler()
           
 RowIdImpl getFinalRowId()
           
 RowIdImpl getHeaderRowId()
           
 NullMask getNullMask(ByteBuffer rowBuffer)
           
 Object[] getRowCacheValues()
           
 int getRowsOnHeaderPage()
           
 TableImpl getTable()
           
 boolean isAtFinalRow()
           
 boolean isAtHeaderRow()
           
 boolean isDeleted()
           
 boolean isHeaderPageNumberValid()
           
 boolean isHeaderRowNumberValid()
           
 boolean isOverflow()
           
 boolean isUpToDate()
           
 boolean isValid()
           
 void reset()
           
 void setErrorHandler(ErrorHandler newErrorHandler)
           
 String toString()
          Contains details about the errored row, useful for debugging.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTable

public TableImpl getTable()
Specified by:
getTable in interface ErrorHandler.Location
Returns:
the table in which the error occurred

getErrorHandler

public ErrorHandler getErrorHandler()

setErrorHandler

public void setErrorHandler(ErrorHandler newErrorHandler)

reset

public void reset()

isUpToDate

public boolean isUpToDate()

getFinalRowId

public RowIdImpl getFinalRowId()

isValid

public boolean isValid()

isDeleted

public boolean isDeleted()

isOverflow

public boolean isOverflow()

isHeaderPageNumberValid

public boolean isHeaderPageNumberValid()

isHeaderRowNumberValid

public boolean isHeaderRowNumberValid()

isAtHeaderRow

public boolean isAtHeaderRow()

isAtFinalRow

public boolean isAtFinalRow()

getRowCacheValues

public Object[] getRowCacheValues()

getNullMask

public NullMask getNullMask(ByteBuffer rowBuffer)
                     throws IOException
Throws:
IOException

getHeaderRowId

public RowIdImpl getHeaderRowId()

getRowsOnHeaderPage

public int getRowsOnHeaderPage()

toString

public String toString()
Description copied from interface: ErrorHandler.Location
Contains details about the errored row, useful for debugging.

Specified by:
toString in interface ErrorHandler.Location
Overrides:
toString in class Object


Copyright © 2005–2017 Health Market Science. All rights reserved.