Table

public class Table extends BasicEntity<TableInstance>

Constructors

Table

public Table(Entity entity)

Constructor

Table

protected Table(TableBase impl)

Methods

get

public TableInstance get()

Get the corresponding TableInstance instance (for not indexed tables)

Throws

get

public final TableInstance get(Object... key)

Get the table instance corresponding to the specified key. See Access to instances and values for further information on how the key can be specified.

Parameters
  • key – The key to be found

Throws
Returns

The instance corresponding to the specified key. Returns null if the specified key is not present.

get

public TableInstance get(Tuple key)

Get the table instance corresponding to the specified key, expressed as a Tuple. See Access to instances and values for further information on how the key can be specified.

Parameters
  • key – The indexing Tuple of the instance to be found

Throws
Returns

The table instance corresponding to the specified key. Returns null if the specified key is not present.

impl

TableBase impl()

iterator

public Iterator<TableInstance> iterator()