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, int type, int id, long minArity, long maxArity, boolean isNamedGraph, 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.
    long getMaxArity()
    Returns the maximum arity (i.e., the number of columns) of a tuple table.
    long 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()  
    boolean isNamedGraph()
    Returns true if the tuple table is treated as a named graph (and so it can be addressed using the SPARQL 1.1 GRAPH construct.

    Methods inherited from class java.lang.Object

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

    • TupleTableInfo

      public TupleTableInfo​(java.lang.String name, int type, int id, long minArity, long maxArity, boolean isNamedGraph, 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 long 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 long getMaxArity()
      Returns the maximum arity (i.e., the number of columns) of a tuple table.
      Returns:
      the maximumarity of a tuple table
    • isNamedGraph

      public boolean isNamedGraph()
      Returns true if the tuple table is treated as a named graph (and so it can be addressed using the SPARQL 1.1 GRAPH construct.
      Returns:
      true if the tuple table is treated as containing named graph
    • 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