Class OpenTsdbWriter
- java.lang.Object
-
- cz.o2.proxima.core.storage.AbstractStorage
-
- cz.o2.proxima.direct.io.http.HttpWriter
-
- cz.o2.proxima.direct.io.http.opentsdb.OpenTsdbWriter
-
- All Implemented Interfaces:
AbstractDataAccessor
,AttributeWriterBase
,DataAccessor
,OnlineAttributeWriter
,java.io.Serializable
,java.lang.AutoCloseable
@Evolving public class OpenTsdbWriter extends HttpWriter
AHttpWriter
specialized on opentsdb.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class cz.o2.proxima.core.storage.AbstractStorage
AbstractStorage.SerializableAbstractStorage
-
Nested classes/interfaces inherited from interface cz.o2.proxima.direct.core.AttributeWriterBase
AttributeWriterBase.Type
-
Nested classes/interfaces inherited from interface cz.o2.proxima.direct.core.OnlineAttributeWriter
OnlineAttributeWriter.Factory<T extends OnlineAttributeWriter>
-
-
Constructor Summary
Constructors Constructor Description OpenTsdbWriter(EntityDescriptor entityDesc, java.net.URI uri, java.util.Map<java.lang.String,java.lang.Object> cfg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnlineAttributeWriter.Factory<?>
asFactory()
Convert instance of this writer toAttributeWriterBase.Factory
suitable for serialization.protected ConnFactory
getConnFactory(java.util.Map<java.lang.String,java.lang.Object> cfg)
-
Methods inherited from class cz.o2.proxima.direct.io.http.HttpWriter
close, getWriter, write
-
Methods inherited from class cz.o2.proxima.core.storage.AbstractStorage
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cz.o2.proxima.core.storage.internal.AbstractDataAccessor
getUri
-
Methods inherited from interface cz.o2.proxima.direct.core.AttributeWriterBase
bulk, getUri, online
-
Methods inherited from interface cz.o2.proxima.direct.core.DataAccessor
getBatchLogReader, getCachedView, getCommitLogReader, getRandomAccessReader, isAcceptable
-
Methods inherited from interface cz.o2.proxima.direct.core.OnlineAttributeWriter
getType, isTransactional, rollback, transactional
-
-
-
-
Constructor Detail
-
OpenTsdbWriter
public OpenTsdbWriter(EntityDescriptor entityDesc, java.net.URI uri, java.util.Map<java.lang.String,java.lang.Object> cfg)
-
-
Method Detail
-
getConnFactory
protected ConnFactory getConnFactory(java.util.Map<java.lang.String,java.lang.Object> cfg)
- Overrides:
getConnFactory
in classHttpWriter
-
asFactory
public OnlineAttributeWriter.Factory<?> asFactory()
Description copied from interface:AttributeWriterBase
Convert instance of this writer toAttributeWriterBase.Factory
suitable for serialization.- Specified by:
asFactory
in interfaceAttributeWriterBase
- Specified by:
asFactory
in interfaceOnlineAttributeWriter
- Overrides:
asFactory
in classHttpWriter
- Returns:
- the
AttributeWriterBase.Factory
representing this reader
-
-