Class OperationContext


  • public class OperationContext
    extends java.lang.Object
    This class is used when iterating over table rows in operations.
    • Constructor Detail

      • OperationContext

        public OperationContext()
      • OperationContext

        public OperationContext​(boolean setTableIndex,
                                boolean setRowIndex)
    • Method Detail

      • setReturnPrevIndexes

        public void setReturnPrevIndexes​(boolean returnPrevIndexes)
      • withSettingIndices

        public OperationContext withSettingIndices​(boolean setTableIndex,
                                                   boolean setRowIndex)
      • getTableIndex

        public long getTableIndex()
      • getRowIndex

        public long getRowIndex()
      • setTableIndex

        public void setTableIndex​(long tableIndex)
        For saving tableIndex of the next row. prevTableIndex saves because in some cases we read the next row for the future.
      • setRowIndex

        public void setRowIndex​(long rowIndex)
        For saving rowIndex of the next row. prevRowIndex saves because in some cases we read the next row for the future.
      • isSettingTableIndex

        public boolean isSettingTableIndex()
        Whether it is necessary to set the attribute with the table index in the row node.
      • isSettingRowIndex

        public boolean isSettingRowIndex()
        Whether it is necessary to set the attribute with the row index in the row node.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object