Class TableHandle
java.lang.Object
com.illumon.iris.db.plot.util.tables.TableHandle
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DeferredOperationTableHandle
A handle describing a remote table as well as the columns of the table that are needed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTableHandle
(Table table, boolean subscribeToPreemptiveUpdates, String... columns) TableHandle
(Table table, String... columns) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
void
Get theTableDefinition
of the table that will be handed off to actual plotting methods.getTable()
boolean
hasColumns
(String... cols) int
hashCode()
int
id()
boolean
void
void
setTableSnapshot
(TableSnapshot tableSnapshot) boolean
-
Constructor Details
-
TableHandle
-
TableHandle
-
-
Method Details
-
id
public int id() -
addColumn
-
getColumns
-
isSubscribeToPreemptiveUpdates
public boolean isSubscribeToPreemptiveUpdates() -
hasColumns
-
getTable
-
getFinalTableDefinition
Get theTableDefinition
of the table that will be handed off to actual plotting methods. This method is important because in some cases (ie when ACls are applied to source tables) computations must be deferred until after ACL application so that they are applied correctly. In this case, the table produced bygetTable()
may be the raw source table, not the final table. This method is used to get the final result table definition no matter what the preconditions are.- Returns:
- The
TableDefinition
of the plotted table.
-
setTable
-
setTableSnapshot
-
getTableSnapshot
-
getSnapshotData
-
freezeSnapshots
public void freezeSnapshots() -
thawSnapshots
public boolean thawSnapshots() -
equals
-
hashCode
public int hashCode()
-