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 booleanequals(java.lang.Object that)intgetID()Returns the ID of a tuple table.longgetMaxArity()Returns the maximum arity (i.e., the number of columns) of a tuple table.longgetMinArity()Returns the minimum arity (i.e., the number of columns) of a tuple table.java.lang.StringgetName()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.TupleTableTypegetType()Returns the type of a tuple table.inthashCode()booleanisNamedGraph()Returnstrueif the tuple table is treated as a named graph (and so it can be addressed using the SPARQL 1.1GRAPHconstruct. 
- 
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
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()Returnstrueif the tuple table is treated as a named graph (and so it can be addressed using the SPARQL 1.1GRAPHconstruct.- Returns:
 trueif 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:
 hashCodein classjava.lang.Object
 - 
equals
public boolean equals(java.lang.Object that)- Overrides:
 equalsin classjava.lang.Object
 
 -