@Stable @NotThreadSafe public interface AttributeWriterBase extends java.lang.AutoCloseable
OnlineAttributeWriter and BulkAttributeWriter.| Modifier and Type | Interface and Description |
|---|---|
static interface |
AttributeWriterBase.Factory<W extends AttributeWriterBase>
Base interface for factories in implementing classes.
|
static class |
AttributeWriterBase.Type |
| Modifier and Type | Method and Description |
|---|---|
AttributeWriterBase.Factory<? extends AttributeWriterBase> |
asFactory()
Convert instance of this writer to
AttributeWriterBase.Factory suitable for serialization. |
default BulkAttributeWriter |
bulk()
Case this to
BulkAttributeWriter. |
void |
close()
Close allocated resources of this writer.
|
AttributeWriterBase.Type |
getType()
Retrieve type of the writer.
|
java.net.URI |
getUri()
Retrieve URI of this writer.
|
default OnlineAttributeWriter |
online()
Cast this to
OnlineAttributeWriter. |
void |
rollback()
Rollback the writer to last committed position.
|
java.net.URI getUri()
AttributeWriterBase.Type getType()
AttributeWriterBase.Type of the writervoid rollback()
default OnlineAttributeWriter online()
OnlineAttributeWriter. This is just a syntactic sugar.OnlineAttributeWriter from this writerdefault BulkAttributeWriter bulk()
BulkAttributeWriter. This is just a syntactic sugar.BulkAttributeWriter from this writervoid close()
close in interface java.lang.AutoCloseableAttributeWriterBase.Factory<? extends AttributeWriterBase> asFactory()
AttributeWriterBase.Factory suitable for serialization.AttributeWriterBase.Factory representing this readerCopyright © 2017–2021. All rights reserved.