Package io.deephaven.client.impl
Interface BarrageSnapshot.Factory
- All Known Implementing Classes:
BarrageSession
- Enclosing interface:
- BarrageSnapshot
public static interface BarrageSnapshot.Factory
-
Method Summary
Modifier and TypeMethodDescriptionsnapshot
(TableHandle tableHandle, BarrageSnapshotOptions options) Sources a barrage snapshot from aTableHandle
.snapshot
(TableSpec tableSpec, BarrageSnapshotOptions options) Sources a barrage snapshot from aTableSpec
.
-
Method Details
-
snapshot
BarrageSnapshot snapshot(TableSpec tableSpec, BarrageSnapshotOptions options) throws TableHandle.TableHandleException, InterruptedException Sources a barrage snapshot from aTableSpec
.- Parameters:
tableSpec
- the tableSpec to resolve and then snapshotoptions
- the options configuring the details of this snapshot- Returns:
- the
BarrageSnapshot
- Throws:
TableHandle.TableHandleException
InterruptedException
-
snapshot
Sources a barrage snapshot from aTableHandle
. A new reference of the handle is created. The originaltableHandle
is still owned by the caller.- Parameters:
tableHandle
- the table handle to snapshotoptions
- the options configuring the details of this snapshot- Returns:
- the
BarrageSnapshot
-