Class TableImpl
- java.lang.Object
-
- de.tudresden.inf.lat.tabulas.table.TableImpl
-
- All Implemented Interfaces:
CompositeTypeValue
,Table
,Serializable
,scala.Equals
,scala.Product
public class TableImpl extends Object implements Table, scala.Product, Serializable
This is the default implementation of a sorted table.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TableImpl
add(Record record)
static TableImpl
apply()
static TableImpl
apply(CompositeType newType)
static TableImpl
apply(CompositeType newType, Table other)
static TableImpl
apply(Table other)
scala.collection.immutable.Set<String>
fieldsWithReverseOrder()
scala.collection.immutable.Set<String>
getFieldsWithReverseOrder()
Returns the fields that are supposed to be sorted in reverse order.PrefixMap
getPrefixMap()
Returns the map of URI prefixes.scala.collection.immutable.Seq<Record>
getRecords()
Returns all the records.scala.collection.immutable.Seq<String>
getSortingOrder()
Returns the sorting order for the fields.CompositeType
getType()
Returns the type of this composite type value.PrefixMap
prefixMap()
scala.collection.immutable.Seq<Record>
records()
scala.collection.immutable.Seq<String>
sortingOrder()
CompositeType
tableType()
String
toString()
-
-
-
Constructor Detail
-
TableImpl
public TableImpl(CompositeType tableType, PrefixMap prefixMap, scala.collection.immutable.Seq<String> sortingOrder, scala.collection.immutable.Set<String> fieldsWithReverseOrder, scala.collection.immutable.Seq<Record> records)
-
-
Method Detail
-
apply
public static TableImpl apply()
-
apply
public static TableImpl apply(CompositeType newType)
-
apply
public static TableImpl apply(CompositeType newType, Table other)
-
tableType
public CompositeType tableType()
-
prefixMap
public PrefixMap prefixMap()
-
sortingOrder
public scala.collection.immutable.Seq<String> sortingOrder()
-
fieldsWithReverseOrder
public scala.collection.immutable.Set<String> fieldsWithReverseOrder()
-
records
public scala.collection.immutable.Seq<Record> records()
-
getType
public CompositeType getType()
Description copied from interface:CompositeTypeValue
Returns the type of this composite type value.- Specified by:
getType
in interfaceCompositeTypeValue
- Returns:
- the type of this composite type value
-
getPrefixMap
public PrefixMap getPrefixMap()
Description copied from interface:Table
Returns the map of URI prefixes.- Specified by:
getPrefixMap
in interfaceTable
- Returns:
- the map of URI prefixes
-
getSortingOrder
public scala.collection.immutable.Seq<String> getSortingOrder()
Description copied from interface:Table
Returns the sorting order for the fields.- Specified by:
getSortingOrder
in interfaceTable
- Returns:
- the sorting order for the fields
-
getFieldsWithReverseOrder
public scala.collection.immutable.Set<String> getFieldsWithReverseOrder()
Description copied from interface:Table
Returns the fields that are supposed to be sorted in reverse order.- Specified by:
getFieldsWithReverseOrder
in interfaceTable
- Returns:
- the fields that are supposed to be sorted in reverse order
-
getRecords
public scala.collection.immutable.Seq<Record> getRecords()
Description copied from interface:CompositeTypeValue
Returns all the records.- Specified by:
getRecords
in interfaceCompositeTypeValue
- Returns:
- all the records
-
-