primary
The branch that will be used in calls to
sink(IsolationLevel)
.AutoCloseable
, SailClosable
, SailSource
SailSource
. This is useful to provide a combined view of both
explicit and inferred statements.private final SailSource
SailDataset
s.private final SailSource
sink(IsolationLevel)
.UnionSailSource(SailSource primary,
SailSource additional)
SailSource
that combines two other SailSource
es.void
close()
dataset(IsolationLevel level)
SailDataset
of the current state of this SailSource
.void
flush()
SailSource
, if applicable.fork()
void
prepare()
SailConflictException
if SailSource.flush()
ing this
branch would cause the backing SailSource
to be inconsistent, if applicable.sink(IsolationLevel level)
SailSink
that when when its SailSource.flush()
is called, the changes are applied to this source.toString()
sink(IsolationLevel)
.SailDataset
s.SailSource
that combines two other SailSource
es.primary
- delegates all calls to the given SailSource
.additional
- delegate all call except sink(IsolationLevel)
.SailClosable
close
in interface AutoCloseable
close
in interface SailClosable
SailException
- if this resource cannot be closedSailSource
SailSource.flush()
is called the changes are applied to this backing
source.fork
in interface SailSource
SailSource
.SailSource
SailConflictException
if SailSource.flush()
ing this
branch would cause the backing SailSource
to be inconsistent, if applicable. If this is the final backing
SailSource
calling this method has no effect.prepare
in interface SailSource
SailException
SailSource
SailSource
, if applicable. If this is the final
backing SailSource
calling this method has no effect.flush
in interface SailSource
SailException
SailSource
SailSink
that when when its SailSource.flush()
is called, the changes are applied to this source.sink
in interface SailSource
level
- If this level is compatible with IsolationLevels.SERIALIZABLE
then a
SailSink.prepare()
can throw a SailConflictException
.SailSink
SailException
SailSource
SailDataset
of the current state of this SailSource
. Repeatedly calling with
methods with IsolationLevels.SNAPSHOT
(or higher) isolation levels will result in SailDataset
s
that are all derived from the same state of the backing SailSource
(if applicable), that is the only
difference between the states of the SailDataset
will be from changes using this
SailSource.sink(IsolationLevel)
.dataset
in interface SailSource
level
- If this is compatible with IsolationLevels.SNAPSHOT_READ
the resulting SailDataset
will observe a single state of this SailSource
.SailDataset
of the current stateSailException