Package cz.o2.proxima.direct.jdbc
Class RowAsJsonConverter
- java.lang.Object
-
- cz.o2.proxima.direct.jdbc.RowAsJsonConverter
-
- All Implemented Interfaces:
Converter<java.lang.String>
,java.io.Serializable
public class RowAsJsonConverter extends java.lang.Object implements Converter<java.lang.String>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RowAsJsonConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKeyFromResult(java.sql.ResultSet result)
byte[]
getValueBytes(java.sql.ResultSet result, AttributeDescriptor<java.lang.String> attributeDescriptor)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cz.o2.proxima.direct.jdbc.Converter
asKeyValues, getTimestampFromResult, setup
-
-
-
-
Method Detail
-
getKeyFromResult
public java.lang.String getKeyFromResult(java.sql.ResultSet result)
- Specified by:
getKeyFromResult
in interfaceConverter<java.lang.String>
-
getValueBytes
public byte[] getValueBytes(java.sql.ResultSet result, AttributeDescriptor<java.lang.String> attributeDescriptor)
- Specified by:
getValueBytes
in interfaceConverter<java.lang.String>
-
-