Package kieker.extension.cassandra
Class CassandraValueDeserializer
java.lang.Object
kieker.common.record.io.AbstractValueDeserializer
kieker.extension.cassandra.CassandraValueDeserializer
- All Implemented Interfaces:
kieker.common.record.io.IValueDeserializer
public class CassandraValueDeserializer
extends kieker.common.record.io.AbstractValueDeserializer
implements kieker.common.record.io.IValueDeserializer
- Since:
- 1.16
-
Constructor Summary
Constructors Constructor Description CassandraValueDeserializer(com.datastax.oss.driver.api.core.cql.Row row) -
Method Summary
Modifier and Type Method Description booleangetBoolean()bytegetByte()chargetChar()doublegetDouble()<T extends java.lang.Enum<T>>
TgetEnumeration(java.lang.Class<T> clazz)floatgetFloat()intgetInt()longgetLong()shortgetShort()java.lang.StringgetString()
-
Constructor Details
-
CassandraValueDeserializer
public CassandraValueDeserializer(com.datastax.oss.driver.api.core.cql.Row row)
-
-
Method Details
-
getBoolean
public boolean getBoolean()- Specified by:
getBooleanin interfacekieker.common.record.io.IValueDeserializer
-
getByte
public byte getByte() throws java.lang.NumberFormatException- Specified by:
getBytein interfacekieker.common.record.io.IValueDeserializer- Throws:
java.lang.NumberFormatException
-
getChar
public char getChar()- Specified by:
getCharin interfacekieker.common.record.io.IValueDeserializer
-
getShort
public short getShort() throws java.lang.NumberFormatException- Specified by:
getShortin interfacekieker.common.record.io.IValueDeserializer- Throws:
java.lang.NumberFormatException
-
getInt
public int getInt() throws java.lang.NumberFormatException- Specified by:
getIntin interfacekieker.common.record.io.IValueDeserializer- Throws:
java.lang.NumberFormatException
-
getLong
public long getLong() throws java.lang.NumberFormatException- Specified by:
getLongin interfacekieker.common.record.io.IValueDeserializer- Throws:
java.lang.NumberFormatException
-
getFloat
public float getFloat() throws java.lang.NumberFormatException- Specified by:
getFloatin interfacekieker.common.record.io.IValueDeserializer- Throws:
java.lang.NumberFormatException
-
getDouble
public double getDouble() throws java.lang.NumberFormatException- Specified by:
getDoublein interfacekieker.common.record.io.IValueDeserializer- Throws:
java.lang.NumberFormatException
-
getString
public java.lang.String getString()- Specified by:
getStringin interfacekieker.common.record.io.IValueDeserializer
-
getEnumeration
public <T extends java.lang.Enum<T>> T getEnumeration(java.lang.Class<T> clazz) throws kieker.common.exception.RecordInstantiationException- Specified by:
getEnumerationin interfacekieker.common.record.io.IValueDeserializer- Throws:
kieker.common.exception.RecordInstantiationException
-