|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Tuple | |
---|---|
prefuse | The top-level Visualization and Display classes, as well as Constants used throughout the toolkit. |
prefuse.data | Table, Graph, and Tree data structures for organizing data. |
prefuse.data.event | Listener interfaces for monitoring prefuse data structures and expressions. |
prefuse.data.expression | Classes implementing an SQL-like expression language for filtering and manipulating data. |
prefuse.data.query | Dynamic query bindings and data range models for creating dynamic queries. |
prefuse.data.search | Text search support for prefix, keyword, and regular expression searches. |
prefuse.data.tuple | Implementing classes for data tuples, object proxies to a row of table data. |
prefuse.data.util | Utility classes for supporting prefuse data structures, including indexes, iterables, filters, and column projections. |
prefuse.render | Interfaces and modules for rendering VisualItems into a graphics context. |
prefuse.util | Utility classes for use by both the toolkit and applications, including color and font support. |
prefuse.visual | Classes for representing and storing VisualItems. |
prefuse.visual.expression | Expressions in the prefuse expression language that are specific to VisualItems. |
prefuse.visual.tuple | Implementations of VisualItem types and backing TupleManager instances. |
Uses of Tuple in prefuse |
---|
Methods in prefuse with type parameters of type Tuple | ||
---|---|---|
|
Visualization.addTable(java.lang.String group,
Table<T> table)
Adds a data table to this visualization, using the given data group name. |
|
|
Visualization.addTable(java.lang.String group,
Table<T> table,
Predicate filter)
Adds a data table to this visualization, using the given data group name. |
|
|
Visualization.addTable(java.lang.String group,
Table<T> table,
Predicate filter,
Schema schema)
Adds a data table to this visualization, using the given data group name. |
|
|
Visualization.addTable(java.lang.String group,
Table<T> table,
Schema schema)
Adds a data table to this visualization, using the given data group name. |
|
|
Visualization.addTable(VisualTable<S,T> table)
Add a VisualTable to this visualization, using the table's pre-set group name. |
Methods in prefuse that return Tuple | |
---|---|
Tuple<?> |
Visualization.getSourceTuple(VisualItem<?> item)
Get the Tuple from a backing source data set that corresponds most closely to the given VisualItem. |
Methods in prefuse that return types with arguments of type Tuple | |
---|---|
TupleSet<? extends Tuple<?>> |
Visualization.getSourceData(java.lang.String group)
Get the source data TupleSet backing the given visual data group. |
TupleSet<? extends Tuple<?>> |
Visualization.getSourceData(VisualTupleSet<?> ts)
Get the source data TupleSet backing the given visual tuple set. |
java.lang.Iterable<? extends Tuple<?>> |
Visualization.items(java.lang.String group,
java.lang.String expr)
Get an iterator over all items in the given group which match the given filter expression. |
Methods in prefuse with parameters of type Tuple | |
---|---|
VisualItem<?> |
Visualization.getVisualItem(java.lang.String group,
Tuple<?> t)
Get the VisualItem associated with a source data tuple, if it exists. |
Uses of Tuple in prefuse.data |
---|
Classes in prefuse.data with type parameters of type Tuple | |
---|---|
class |
CascadedTable<T extends Tuple<?>,C extends Tuple<?>>
Table subclass featuring a "cascaded" table design - a CascadedTable can have a parent table, from which it inherits a potentially filtered set of rows and columns. |
class |
CascadedTable<T extends Tuple<?>,C extends Tuple<?>>
Table subclass featuring a "cascaded" table design - a CascadedTable can have a parent table, from which it inherits a potentially filtered set of rows and columns. |
class |
Graph<T extends Tuple<?>,N extends Node<N,E>,E extends Edge<N,E>>
A Graph models a network of nodes connected by a collection of edges. |
class |
SpanningTree<T extends Tuple<?>,N extends Node<N,E>,E extends Edge<N,E>>
Special tree instance for storing a spanning tree over a graph instance. |
class |
Table<T extends Tuple<?>>
A Table organizes a collection of data into rows and columns, each row containing a data record, and each column containing data values for a named data field with a specific data type. |
class |
Tree<T extends Tuple<?>,N extends Node<N,E>,E extends Edge<N,E>>
Graph subclass that models a tree structure of hierarchical parent-child relationships. |
interface |
Tuple<T extends Tuple<?>>
Tuples are objects representing a row of a data table, providing a simplified interface to table data. |
Subinterfaces of Tuple in prefuse.data | |
---|---|
interface |
Edge<N extends Node<N,E>,E extends Edge<N,E>>
Tuple sub-interface that represents an edge in a graph structure. |
interface |
Node<N extends Node<N,E>,E extends Edge<N,E>>
Tuple sub-interface that represents a node in a graph or tree structure. |
Methods in prefuse.data with parameters of type Tuple | |
---|---|
boolean |
Table.containsTuple(Tuple<?> t)
Indicates if this table contains the given Tuple instance. |
boolean |
Table.removeTuple(Tuple<?> t)
Remove a tuple from this table. |
boolean |
SpanningTree.removeTuple(Tuple<?> t)
Unsupported operation. |
boolean |
Graph.removeTuple(Tuple<?> t)
If the given tuple is a Node or Edge in this graph, remove it. |
Uses of Tuple in prefuse.data.event |
---|
Methods in prefuse.data.event with parameters of type Tuple | |
---|---|
void |
TupleSetListener.tupleSetChanged(TupleSet<?> tset,
Tuple<?>[] added,
Tuple<?>[] removed)
Notification that a TupleSet has changed. |
void |
TupleSetListener.tupleSetChanged(TupleSet<?> tset,
Tuple<?>[] added,
Tuple<?>[] removed)
Notification that a TupleSet has changed. |
Uses of Tuple in prefuse.data.expression |
---|
Methods in prefuse.data.expression with parameters of type Tuple | |
---|---|
java.lang.Object |
RangePredicate.get(Tuple<?> t)
|
java.lang.Object |
ObjectLiteral.get(Tuple<?> t)
|
java.lang.Object |
NumericLiteral.get(Tuple<?> t)
|
java.lang.Object |
IfExpression.get(Tuple<?> t)
|
java.lang.Object |
Expression.get(Tuple<?> t)
Evaluate the Expression on the given input Tuple. |
java.lang.Object |
ComparisonPredicate.get(Tuple<?> t)
|
java.lang.Object |
ColumnExpression.get(Tuple<?> t)
|
java.lang.Object |
BooleanLiteral.get(Tuple<?> t)
|
java.lang.Object |
ArithmeticExpression.get(Tuple<?> t)
|
java.lang.Object |
AbstractPredicate.get(Tuple<?> t)
Returns the wrapper Object type for the result of Expression.getBoolean(Tuple) . |
java.lang.Object |
AbstractExpression.get(Tuple<?> t)
By default, throws an UnsupportedOperationException. |
boolean |
XorPredicate.getBoolean(Tuple<?> t)
|
boolean |
RangePredicate.getBoolean(Tuple<?> t)
|
boolean |
OrPredicate.getBoolean(Tuple<?> t)
|
boolean |
NotPredicate.getBoolean(Tuple<?> t)
|
boolean |
IfExpression.getBoolean(Tuple<?> t)
|
boolean |
Expression.getBoolean(Tuple<?> t)
Evaluate the Expression on the given input Tuple. |
boolean |
ComparisonPredicate.getBoolean(Tuple<?> t)
|
boolean |
ColumnExpression.getBoolean(Tuple<?> t)
|
boolean |
BooleanLiteral.getBoolean(Tuple<?> tuple)
|
boolean |
AndPredicate.getBoolean(Tuple<?> t)
|
boolean |
AbstractExpression.getBoolean(Tuple<?> t)
By default, throws an UnsupportedOperationException. |
double |
NumericLiteral.getDouble(Tuple<?> t)
|
double |
IfExpression.getDouble(Tuple<?> t)
|
double |
Expression.getDouble(Tuple<?> t)
Evaluate the Expression on the given input Tuple. |
double |
ColumnExpression.getDouble(Tuple<?> t)
|
double |
ArithmeticExpression.getDouble(Tuple<?> t)
|
double |
AbstractExpression.getDouble(Tuple<?> t)
By default, throws an UnsupportedOperationException. |
float |
NumericLiteral.getFloat(Tuple<?> t)
|
float |
IfExpression.getFloat(Tuple<?> t)
|
float |
Expression.getFloat(Tuple<?> t)
Evaluate the Expression on the given input Tuple. |
float |
ColumnExpression.getFloat(Tuple<?> t)
|
float |
ArithmeticExpression.getFloat(Tuple<?> t)
|
float |
AbstractExpression.getFloat(Tuple<?> t)
By default, throws an UnsupportedOperationException. |
int |
NumericLiteral.getInt(Tuple<?> t)
|
int |
IfExpression.getInt(Tuple<?> t)
|
int |
Expression.getInt(Tuple<?> t)
Evaluate the Expression on the given input Tuple. |
int |
ColumnExpression.getInt(Tuple<?> t)
|
int |
ArithmeticExpression.getInt(Tuple<?> t)
|
int |
AbstractExpression.getInt(Tuple<?> t)
By default, throws an UnsupportedOperationException. |
static Literal |
Literal.getLiteral(Tuple<?> t,
java.lang.String field)
Evaluate the given tuple and data field and return the result as a new Literal instance. |
long |
NumericLiteral.getLong(Tuple<?> t)
|
long |
IfExpression.getLong(Tuple<?> t)
|
long |
Expression.getLong(Tuple<?> t)
Evaluate the Expression on the given input Tuple. |
long |
ColumnExpression.getLong(Tuple<?> t)
|
long |
ArithmeticExpression.getLong(Tuple<?> t)
|
long |
AbstractExpression.getLong(Tuple<?> t)
By default, throws an UnsupportedOperationException. |
Uses of Tuple in prefuse.data.query |
---|
Classes in prefuse.data.query with type parameters of type Tuple | |
---|---|
class |
SearchQueryBinding<T extends Tuple<?>>
DynamicQueryBinding supporting text search over data values. |
Uses of Tuple in prefuse.data.search |
---|
Classes in prefuse.data.search with type parameters of type Tuple | |
---|---|
class |
PrefixSearchTupleSet<T extends Tuple<?>>
SearchTupleSet implementation supporting word prefix searches over indexed Tuple data fields. |
class |
SearchTupleSet<T extends Tuple<?>>
2* Abstract base class for TupleSet implementations that support text search. |
Methods in prefuse.data.search that return Tuple | |
---|---|
protected Tuple<?> |
KeywordSearchTupleSet.getMatchingTuple(org.apache.lucene.document.Document d)
Return the Tuple matching the given Lucene Document, if any. |
Methods in prefuse.data.search with parameters of type Tuple | |
---|---|
void |
Trie.addString(java.lang.String word,
Tuple t)
Add a new word to the trie, associated with the given Tuple. |
abstract void |
SearchTupleSet.index(Tuple<?> t,
java.lang.String field)
Index an individual Tuple field, so that it can be searched for. |
void |
PrefixSearchTupleSet.index(Tuple<?> t,
java.lang.String field)
Indexes the given field of the provided Tuple instance. |
void |
RegexSearchTupleSet.index(Tuple t,
java.lang.String field)
|
void |
KeywordSearchTupleSet.index(Tuple t,
java.lang.String field)
|
void |
Trie.removeString(java.lang.String word,
Tuple t)
Remove a word/Tuple pair from the trie. |
boolean |
SearchTupleSet.removeTuple(Tuple<?> t)
This method is not supported by this implementation. |
abstract void |
SearchTupleSet.unindex(Tuple<?> t,
java.lang.String field)
Un-index an individual Tuple field, so that it can no longer be searched for. |
void |
PrefixSearchTupleSet.unindex(Tuple<?> t,
java.lang.String field)
|
void |
RegexSearchTupleSet.unindex(Tuple t,
java.lang.String field)
|
void |
KeywordSearchTupleSet.unindex(Tuple t,
java.lang.String attrName)
This method throws an exception, as unidexing is not supported. |
Method parameters in prefuse.data.search with type arguments of type Tuple | |
---|---|
void |
SearchTupleSet.index(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Indexes the data values for the given field name for each Tuple in the provided Iterator. |
Constructors in prefuse.data.search with parameters of type Tuple | |
---|---|
Trie.TrieLeaf(java.lang.String word,
Tuple<?> t)
|
Uses of Tuple in prefuse.data.tuple |
---|
Classes in prefuse.data.tuple with type parameters of type Tuple | |
---|---|
class |
AbstractTupleSet<T extends Tuple<?>>
Abstract base class for TupleSet implementations. |
class |
CompositeTupleSet<T extends Tuple<?>>
TupleSet implementation for treating a collection of tuple sets as a single, composite tuple set. |
class |
DefaultTupleSet<T extends Tuple<?>>
TupleSet implementation that maintains a set of heterogeneous Tuples -- tuples that can come from any backing data source. |
class |
TupleManager<T extends Tuple<?>>
Manager class for Tuples. |
interface |
TupleSet<T extends Tuple<?>>
A collection of data tuples. |
Classes in prefuse.data.tuple that implement Tuple | |
---|---|
class |
TableEdge
Edge implementation that reads Edge data from a backing edge table. |
class |
TableNode
Node implementation that reads Node data from a backing node table. |
class |
TableTuple<T extends TableTuple<?>>
Tuple implementation that pulls values from a backing data Table. |
Fields in prefuse.data.tuple declared as Tuple | |
---|---|
static Tuple<?>[] |
TupleSet.EMPTY_ARRAY
An empty, zero-length array of tuples. |
Methods in prefuse.data.tuple that return Tuple | |
---|---|
Tuple<?>[] |
DefaultTupleSet.clearInternal()
Clear the internal state without firing a notification. |
Tuple<?>[] |
DefaultTupleSet.toArray()
Get the contents of this TupleSet as an array. |
Methods in prefuse.data.tuple with parameters of type Tuple | |
---|---|
boolean |
TupleSet.containsTuple(Tuple<?> t)
Indicates if a given Tuple is contained within this TupleSet. |
boolean |
DefaultTupleSet.containsTuple(Tuple<?> t)
|
boolean |
CompositeTupleSet.containsTuple(Tuple<?> t)
|
protected void |
AbstractTupleSet.fireTupleEvent(Tuple[] added,
Tuple[] removed)
Fire a Tuple event. |
protected void |
AbstractTupleSet.fireTupleEvent(Tuple[] added,
Tuple[] removed)
Fire a Tuple event. |
protected void |
AbstractTupleSet.fireTupleEvent(Tuple<?> t,
int type)
Fire a Tuple event. |
protected boolean |
DefaultTupleSet.removeInternal(Tuple<?> t)
Removes a tuple without firing a notification. |
boolean |
TupleSet.removeTuple(Tuple<?> t)
Remove a Tuple from this TupleSet. |
boolean |
DefaultTupleSet.removeTuple(Tuple<?> t)
|
boolean |
CompositeTupleSet.removeTuple(Tuple<?> t)
Removes the tuple from its source set if that source set is contained within this composite. |
Method parameters in prefuse.data.tuple with type arguments of type Tuple | |
---|---|
boolean |
CompositeTupleSet.containsSet(TupleSet<? extends Tuple<?>> set)
Indicates if this composite contains the given TupleSet. |
Uses of Tuple in prefuse.data.util |
---|
Classes in prefuse.data.util with type parameters of type Tuple | |
---|---|
class |
FilteredList<T extends Tuple<?>>
Filters a List based on a Predicate. |
class |
FilterIterable<T extends Tuple<?>>
Iterator over tuples that filters the output by a given predicate. |
class |
SortedTupleIterable<T extends Tuple<?>>
Iterator that provides a sorted iteration over a set of tuples. |
class |
TupleComparator<T extends Tuple>
Comparator that compares Tuples based on the value of a single field. |
Methods in prefuse.data.util with type parameters of type Tuple | ||
---|---|---|
static
|
FilterIterable.createFilterIterable(java.lang.Iterable<T> tuples,
Predicate p)
|
|
|
Sort.getComparator(TupleSet<T> ts)
Generates a Comparator to be used for sorting tuples drawn from the given tuple set. |
|
static
|
FilterIterableFactory.tuples(TupleSet<T> ts,
Predicate p)
Get a filtered iterator over the tuples in the given set, filtered by the given predicate. |
Methods in prefuse.data.util that return Tuple | |
---|---|
Tuple<?> |
BreadthFirstIterator.next()
|
Methods in prefuse.data.util with parameters of type Tuple | |
---|---|
int |
TupleComparator.compare(Tuple t1,
Tuple t2)
Compares two tuples. |
int |
TupleComparator.compare(Tuple t1,
Tuple t2)
Compares two tuples. |
boolean |
ValidEdgePredicate.getBoolean(Tuple<?> tpl)
Indicates if the given tuple can be used as a valid edge for the nodes of the backing graph. |
int |
BreadthFirstIterator.getDepth(Tuple<?> t)
Get the traversal depth at which a particular tuple was encountered. |
Method parameters in prefuse.data.util with type arguments of type Tuple | |
---|---|
void |
BreadthFirstIterator.init(java.lang.Iterable<? extends Tuple<?>> o,
int depth,
TraversalType traversal)
Initialize (or re-initialize) this iterator. |
Constructor parameters in prefuse.data.util with type arguments of type Tuple | |
---|---|
BreadthFirstIterator(java.lang.Iterable<Tuple<?>> it,
int depth,
TraversalType traversal)
Create a new BreadthFirstIterator starting from the given source nodes. |
Uses of Tuple in prefuse.render |
---|
Method parameters in prefuse.render with type arguments of type Tuple | |
---|---|
void |
ImageFactory.preloadImages(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Preloads images for use in a visualization. |
Uses of Tuple in prefuse.util |
---|
Methods in prefuse.util that return Tuple | |
---|---|
static Tuple<?> |
DataLib.max(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the maximum data field value. |
static Tuple<?> |
DataLib.max(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the maximum data field value. |
static Tuple<?> |
DataLib.max(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the maximum data field value. |
static Tuple<?> |
DataLib.max(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the maximum data field value. |
static Tuple<?> |
DataLib.median(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the median data field value. |
static Tuple<?> |
DataLib.median(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the median data field value. |
static Tuple<?> |
DataLib.median(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the median data field value. |
static Tuple<?> |
DataLib.median(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the median data field value. |
static Tuple<?> |
DataLib.min(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the minimum data field value. |
static Tuple<?> |
DataLib.min(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the minimum data field value. |
static Tuple<?> |
DataLib.min(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the minimum data field value. |
static Tuple<?> |
DataLib.min(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the minimum data field value. |
Methods in prefuse.util with parameters of type Tuple | |
---|---|
java.lang.Object |
PredicateChain.get(Tuple<?> t)
Evaluate the predicate chain for the given Tuple. |
void |
UpdateListener.tupleSetChanged(TupleSet tset,
Tuple[] added,
Tuple[] removed)
|
void |
UpdateListener.tupleSetChanged(TupleSet tset,
Tuple[] added,
Tuple[] removed)
|
Method parameters in prefuse.util with type arguments of type Tuple | |
---|---|
static int |
DataLib.count(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the number of values in a data column. |
static double |
DataLib.deviation(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the standard deviation of a tuple data value. |
static double |
DataLib.deviation(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field,
double mean)
Get the standard deviation of a tuple data value. |
static java.lang.Class<?> |
DataLib.inferType(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field)
Infer the data field type across all tuples in a TupleSet. |
static Tuple<?> |
DataLib.max(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the maximum data field value. |
static Tuple<?> |
DataLib.max(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the maximum data field value. |
static Tuple<?> |
DataLib.max(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the maximum data field value. |
static Tuple<?> |
DataLib.max(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the maximum data field value. |
static double |
DataLib.mean(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the mean value of a tuple data value. |
static Tuple<?> |
DataLib.median(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the median data field value. |
static Tuple<?> |
DataLib.median(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the median data field value. |
static Tuple<?> |
DataLib.median(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the median data field value. |
static Tuple<?> |
DataLib.median(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the median data field value. |
static Tuple<?> |
DataLib.min(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the minimum data field value. |
static Tuple<?> |
DataLib.min(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the minimum data field value. |
static Tuple<?> |
DataLib.min(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field)
Get the Tuple with the minimum data field value. |
static Tuple<?> |
DataLib.min(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get the Tuple with the minimum data field value. |
static java.lang.Object[] |
DataLib.ordinalArray(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get a sorted array containing all column values for a given tuple iterator and field. |
static java.lang.Object[] |
DataLib.ordinalArray(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get a sorted array containing all column values for a given table and field. |
static java.lang.Object[] |
DataLib.ordinalArray(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field)
Get a sorted array containing all column values for a given tuple iterator and field. |
static java.lang.Object[] |
DataLib.ordinalArray(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get a sorted array containing all column values for a given table and field. |
static java.util.Map<java.lang.Object,java.lang.Integer> |
DataLib.ordinalMap(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get map mapping from column values (as Object instances) to their ordinal index in a sorted array. |
static java.util.Map<java.lang.Object,java.lang.Integer> |
DataLib.ordinalMap(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get map mapping from column values (as Object instances) to their ordinal index in a sorted array. |
static java.util.Map<java.lang.Object,java.lang.Integer> |
DataLib.ordinalMap(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field)
Get map mapping from column values (as Object instances) to their ordinal index in a sorted array. |
static java.util.Map<java.lang.Object,java.lang.Integer> |
DataLib.ordinalMap(TupleSet<? extends Tuple<?>> tuples,
java.lang.String field,
java.util.Comparator<java.lang.Object> cmp)
Get map mapping from column values (as Object instances) to their ordinal index in a sorted array. |
static double |
DataLib.sum(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the sum of a tuple data value. |
static java.lang.Object[] |
DataLib.toArray(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get an array containing all data values for a given tuple iteration and field. |
static double[] |
DataLib.toDoubleArray(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get an array of doubles containing all column values for a given table and field. |
static int |
DataLib.uniqueCount(java.lang.Iterable<? extends Tuple<?>> tuples,
java.lang.String field)
Get the number of distinct values in a data column. |
Uses of Tuple in prefuse.visual |
---|
Classes in prefuse.visual with type parameters of type Tuple | |
---|---|
class |
VisualTable<T extends Tuple<?>,C extends VisualItem<?>>
A visual abstraction of a Table data structure. |
Subinterfaces of Tuple in prefuse.visual | |
---|---|
interface |
AggregateItem<T extends VisualItem<?>,V extends VisualItem<?>>
VisualItem that represents an aggregation of one or more other VisualItems. |
interface |
DecoratorItem<T extends DecoratorItem<T>>
VisualItem that "decorates" another VisualItem. |
interface |
EdgeItem<N extends NodeItem<N,E>,E extends EdgeItem<N,E>>
VisualItem that represents an edge in a graph. |
interface |
NodeItem<N extends NodeItem<N,E>,E extends EdgeItem<N,E>>
VisualItem that represents a node in a graph. |
interface |
VisualItem<T extends VisualItem<?>>
Base interface for representing a visual item, a data object with a visual interactive form. |
Fields in prefuse.visual with type parameters of type Tuple | |
---|---|
protected Table<? extends Tuple<?>> |
AggregateTable.m_aggregated
Table storing the 1->Many aggregation mappings |
Methods in prefuse.visual with type parameters of type Tuple | ||
---|---|---|
static
|
VisualTable.createVisualTable(Table<T> parent,
Visualization vis,
java.lang.String group)
|
|
static
|
VisualTable.createVisualTable(Table<T> parent,
Visualization vis,
java.lang.String group,
Predicate rowFilter)
|
|
static
|
VisualTable.createVisualTable(Table<T> parent,
Visualization vis,
java.lang.String group,
Predicate rowFilter,
Schema schema)
|
Methods in prefuse.visual that return Tuple | |
---|---|
Tuple<?> |
VisualItem.getSourceTuple()
Returns the original backing data tuple from which this VisualItem is derived. |
Methods in prefuse.visual that return types with arguments of type Tuple | |
---|---|
java.util.Set<Tuple<?>> |
AggregateTable.getAggregates(Tuple<?> t)
Get a Set of all AggregateItems which contain the input Tuple. |
Methods in prefuse.visual with parameters of type Tuple | |
---|---|
java.util.Set<Tuple<?>> |
AggregateTable.getAggregates(Tuple<?> t)
Get a Set of all AggregateItems which contain the input Tuple. |
protected int |
AggregateTable.getHashCode(Tuple<?> t)
Get a hashcode that uniquely identifies a particular tuple |
Uses of Tuple in prefuse.visual.expression |
---|
Methods in prefuse.visual.expression with parameters of type Tuple | |
---|---|
java.lang.Object |
GroupSizeFunction.get(Tuple t)
|
java.lang.Object |
QueryExpression.get(Tuple<?> t)
|
java.lang.Object |
InGroupPredicate.get(Tuple<?> t)
|
boolean |
SearchPredicate.getBoolean(Tuple<?> t)
|
boolean |
InGroupPredicate.getBoolean(Tuple<?> t)
|
double |
GroupSizeFunction.getDouble(Tuple t)
|
float |
GroupSizeFunction.getFloat(Tuple t)
|
protected java.lang.String |
GroupExpression.getGroup(Tuple<?> t)
Evaluate the group name expression for the given Tuple |
int |
GroupSizeFunction.getInt(Tuple t)
|
long |
GroupSizeFunction.getLong(Tuple t)
|
Uses of Tuple in prefuse.visual.tuple |
---|
Classes in prefuse.visual.tuple that implement Tuple | |
---|---|
class |
TableAggregateItem<V extends VisualItem<?>>
AggregateItem implementation that uses data values from a backing AggregateTable. |
class |
TableDecoratorItem
DecoratorItem implementation that uses data values from a backing VisualTable. |
class |
TableEdgeItem
EdgeItem implementation that used data values from a backing VisualTable of edges. |
class |
TableNodeItem
NodeItem implementation that used data values from a backing VisualTable of nodes. |
class |
TableVisualItem<T extends TableVisualItem<?>>
VisualItem implementation that uses data values from a backing VisualTable. |
Methods in prefuse.visual.tuple that return Tuple | |
---|---|
Tuple<?> |
TableVisualItem.getSourceTuple()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |