Class Table.TableVariableResolver

  • All Implemented Interfaces:
    VariableResolver
    Enclosing class:
    Table

    final class Table.TableVariableResolver
    extends java.lang.Object
    implements VariableResolver
    An implementation of VariableResolver that we can use to resolve column names in this table to cells for a specific row.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int row_index  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int findColumnName​(Variable variable)  
      TObject resolve​(Variable variable)
      Returns the value of a given variable.
      TType returnTType​(Variable variable)
      Returns the TType of object the given variable is.
      int setID()
      A number that uniquely identifies the current state of the variable resolver.
      void setRow​(int row_index)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • row_index

        private int row_index
    • Constructor Detail

      • TableVariableResolver

        TableVariableResolver()
    • Method Detail

      • setRow

        public void setRow​(int row_index)
      • findColumnName

        private int findColumnName​(Variable variable)
      • setID

        public int setID()
        Description copied from interface: VariableResolver
        A number that uniquely identifies the current state of the variable resolver. This typically returns the row_index of the table we are resolving variables on.
        Specified by:
        setID in interface VariableResolver