Class TupleTableInfo

java.lang.Object
tech.oxfordsemantic.jrdfox.client.TupleTableInfo

public class TupleTableInfo
extends java.lang.Object
Encapsulates information about a tuple table.
  • Constructor Summary

    Constructors 
    Constructor Description
    TupleTableInfo​(java.lang.String name, TupleTableType type, int id, int minArity, int maxArity, java.util.Map<java.lang.String,​java.lang.String> parameters)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object that)  
    int getID()
    Returns the ID of a tuple table.
    int getMaxArity()
    Returns the maximum arity (i.e., the number of columns) of a tuple table.
    int getMinArity()
    Returns the minimum arity (i.e., the number of columns) of a tuple table.
    java.lang.String getName()
    Returns the name of a tuple table.
    java.util.Map<java.lang.String,​java.lang.String> getParameters()
    Returns the creation parameters of the tuple table.
    TupleTableType getType()
    Returns the type of a tuple table.
    int hashCode()  

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TupleTableInfo

      public TupleTableInfo​(java.lang.String name, TupleTableType type, int id, int minArity, int maxArity, java.util.Map<java.lang.String,​java.lang.String> parameters)
  • Method Details

    • getName

      public java.lang.String getName()
      Returns the name of a tuple table.
      Returns:
      the name of a tuple table
    • getType

      public TupleTableType getType()
      Returns the type of a tuple table.
      Returns:
      the type of a tuple table
    • getID

      public int getID()
      Returns the ID of a tuple table. The ID of a tuple table is unique in a data store and is often used for more efficient identification of a tuple table.
      Returns:
      the ID of a tuple table
    • getMinArity

      public int getMinArity()
      Returns the minimum arity (i.e., the number of columns) of a tuple table.
      Returns:
      the minimum arity of a tuple table
    • getMaxArity

      public int getMaxArity()
      Returns the maximum arity (i.e., the number of columns) of a tuple table.
      Returns:
      the maximumarity of a tuple table
    • getParameters

      public java.util.Map<java.lang.String,​java.lang.String> getParameters()
      Returns the creation parameters of the tuple table.
      Returns:
      the parameters of the tuple table
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object that)
      Overrides:
      equals in class java.lang.Object