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 TypeMethodDescriptiondefault BarrageSnapshotsnapshot(TableHandle tableHandle) Sources a barrage snapshot from aTableHandle.snapshot(TableHandle tableHandle, BarrageSnapshotOptions options) Sources a barrage snapshot from aTableHandle.default BarrageSnapshotSources a barrage snapshot from aTableSpec.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.TableHandleExceptionInterruptedException
-
snapshot
@FinalDefault default BarrageSnapshot snapshot(TableSpec tableSpec) throws TableHandle.TableHandleException, InterruptedException Sources a barrage snapshot from aTableSpec.- Parameters:
tableSpec- the tableSpec to resolve and then snapshot- Returns:
- the
BarrageSnapshot - Throws:
TableHandle.TableHandleExceptionInterruptedException
-
snapshot
Sources a barrage snapshot from aTableHandle. A new reference of the handle is created. The originaltableHandleis still owned by the caller.- Parameters:
tableHandle- the table handle to snapshotoptions- the options configuring the details of this snapshot- Returns:
- the
BarrageSnapshot
-
snapshot
Sources a barrage snapshot from aTableHandle. A new reference of the handle is created. The originaltableHandleis still owned by the caller.- Parameters:
tableHandle- the table handle to snapshot- Returns:
- the
BarrageSnapshot
-