public class TupleContainer extends java.lang.Object implements java.lang.Iterable<Tuple>
Constructor and Description |
---|
TupleContainer(Heading heading,
TupleCollectionBuffer tupleCollectionBuffer)
Creates the AbstractTupleContainer
|
Modifier and Type | Method and Description |
---|---|
Heading |
getHeading()
Gets The heading for tuple container.
|
TupleCollectionBuffer |
getTupleCollectionBuffer()
Gets tupleCollectionBuffer
|
java.util.Iterator<Tuple> |
iterator()
Gets an iterator over the tuples in the container
|
java.lang.String |
printBodyEscapedWithBodyHeaderWithTypeNames()
Gets the relation body in text
|
java.lang.String |
printBodyEscapedWithoutBodyHeaderWithoutTypeNames()
Gets the relation body in text EXCLUDING the BODY( ) container
|
java.lang.String |
printBodyEscapedWithoutBodyHeaderWithTypeNames()
Gets the relation body in text EXCLUDING the BODY( ) container
|
java.lang.String |
printBodyWithoutBodyHeaderWithoutTypeNames()
Gets the relation body in text EXCLUDING the BODY( ) container
|
java.lang.String |
printBodyWithoutBodyHeaderWithTypeNames()
Gets the relation body in text EXCLUDING the BODY( ) container
|
java.lang.String |
printBodyXMLWithBodyHeader()
Gets the relation body in XML-style text
|
java.lang.String |
printBodyXMLWithoutBodyHeader()
Gets the relation body in XML-style text EXCLUDING the <Body>container
|
java.lang.String |
printValueEscapedWithoutTypeNames()
Gets this relation value in SIRAPRISE syntactical format (i.e.
|
java.lang.String |
printValueEscapedWithTypeNames()
Gets this relation value in SIRAPRISE syntactical format (i.e.
|
java.lang.String |
printValueWithoutTypeNames()
Gets this relation value in 'plain text' format (i.e.
|
java.lang.String |
printValueWithTypeNames()
Gets this relation value in 'plain text' format (i.e.
|
java.lang.String |
printValueXML()
Gets this relation value in 'XML text' format.
|
int |
size()
Gets The number of tuples that appear in the relation.
|
java.lang.String |
toString() |
public TupleContainer(Heading heading, TupleCollectionBuffer tupleCollectionBuffer)
heading
- The heading for tuple container.tupleCollectionBuffer
- The buffer holding the collection of tuples that constitutes the relation or bag valuepublic final Heading getHeading()
public final TupleCollectionBuffer getTupleCollectionBuffer()
public final java.util.Iterator<Tuple> iterator()
iterator
in interface java.lang.Iterable<Tuple>
public final java.lang.String printBodyEscapedWithBodyHeaderWithTypeNames()
public final java.lang.String printBodyEscapedWithoutBodyHeaderWithoutTypeNames()
public final java.lang.String printBodyEscapedWithoutBodyHeaderWithTypeNames()
public final java.lang.String printBodyWithoutBodyHeaderWithoutTypeNames()
public final java.lang.String printBodyWithoutBodyHeaderWithTypeNames()
public final java.lang.String printBodyXMLWithBodyHeader()
public final java.lang.String printBodyXMLWithoutBodyHeader()
public final java.lang.String printValueEscapedWithoutTypeNames()
public final java.lang.String printValueEscapedWithTypeNames()
public final java.lang.String printValueWithoutTypeNames()
public final java.lang.String printValueWithTypeNames()
public final java.lang.String printValueXML()
public final int size()
public final java.lang.String toString()
toString
in class java.lang.Object