java.lang.Object
com.cryptoalgo.oursql.model.db.data.Container<int[]>
com.cryptoalgo.oursql.model.db.data.TIDContainer

public class TIDContainer extends Container<int[]>
Container for the "tid" (tuple id) SQL type
  • Constructor Details

    • TIDContainer

      public TIDContainer(String boxValue)
      Create an instance of a TID container with a raw string
      Parameters:
      boxValue - Raw string to unbox into this container
  • Method Details

    • unbox

      protected int[] unbox(String val)
      Description copied from class: Container
      "Unbox" a raw string to the boxed type
      Specified by:
      unbox in class Container<int[]>
      Parameters:
      val - Raw string for unboxing
      Returns:
      Boxed type representing the string
    • isValid

      public boolean isValid(String value)
      Specified by:
      isValid in class Container<int[]>
      Parameters:
      value - Value to be checked
      Returns:
      true if value can be cast to the type of this container
    • toString

      public String toString()
      Specified by:
      toString in class Container<int[]>