Package prefuse.data.tuple

Implementing classes for data tuples, object proxies to a row of table data.

See:
          Description

Interface Summary
TupleSet<T extends Tuple<?>> A collection of data tuples.
 

Class Summary
AbstractTupleSet<T extends Tuple<?>> Abstract base class for TupleSet implementations.
CompositeTupleSet<T extends Tuple<?>> TupleSet implementation for treating a collection of tuple sets as a single, composite tuple set.
DefaultTupleSet<T extends Tuple<?>> TupleSet implementation that maintains a set of heterogeneous Tuples -- tuples that can come from any backing data source.
TableEdge Edge implementation that reads Edge data from a backing edge table.
TableNode Node implementation that reads Node data from a backing node table.
TableTuple<T extends TableTuple<?>> Tuple implementation that pulls values from a backing data Table.
TupleManager<T extends Tuple<?>> Manager class for Tuples.
 

Package prefuse.data.tuple Description

Implementing classes for data tuples, object proxies to a row of table data. Prefuse data tables can be accessed and manipulated directly, indexed by row numbers, but that is not always the most convenient. The Tuple interface provides an object-relational mapping, providing an object-oriented interface to a row of table data. Furthermore, tuples provide enhanced safety, as a deleted row will result in an invalidated tuple, while a row index provides no such guarantees.

Groups of tuples can be collected and monitored using the TupleSet interface, which Table, Graph, and Tree all implement. Other TupleSet instances can be used to collect Tuples from any number of backing tables (DefaultTupleSet) or aggregate multiple TupleSets (CompositeTupleSet).

Graph nodes and edges are also represented as Tuples, with additional methods for accessing the underlying graph structure. Any methods that reference a tree structure will first request a spanning tree from the backing graph.

Tuples are created and stored by TupleManager instances. To customize tuple creation, one needs to register the appropriate concrete Tuple type with an enclosing data table. This is done by creating a concrete implementation of Table by implementing Table.createTupleInstance().



Copyright © 2008 Regents of the University of California