Class TableImpl.RowState
- java.lang.Object
-
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorHandlergetErrorHandler()RowIdImplgetFinalRowId()RowIdImplgetHeaderRowId()NullMaskgetNullMask(ByteBuffer rowBuffer)Object[]getRowCacheValues()intgetRowsOnHeaderPage()TableImplgetTable()booleanisAtFinalRow()booleanisAtHeaderRow()booleanisDeleted()booleanisHeaderPageNumberValid()booleanisHeaderRowNumberValid()booleanisOverflow()booleanisUpToDate()booleanisValid()voidreset()voidsetErrorHandler(ErrorHandler newErrorHandler)StringtoString()Contains details about the errored row, useful for debugging.
-
-
-
Method Detail
-
getTable
public TableImpl getTable()
- Specified by:
getTablein interfaceErrorHandler.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)
-
getHeaderRowId
public RowIdImpl getHeaderRowId()
-
getRowsOnHeaderPage
public int getRowsOnHeaderPage()
-
toString
public String toString()
Description copied from interface:ErrorHandler.LocationContains details about the errored row, useful for debugging.- Specified by:
toStringin interfaceErrorHandler.Location- Overrides:
toStringin classObject
-
-