Package io.debezium.relational
Class AttributeImpl
java.lang.Object
io.debezium.relational.AttributeImpl
- All Implemented Interfaces:
Attribute
Relational model implementation of
Attribute
.- Author:
- Chris Cranford
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the attribute value as a big decimal value.Get the attribute value as a big integer value.Get the attribute value as a boolean value.asDouble()
Get the attribute value as a double value.asFloat()
Get the attribute value as a float value.Get the attribute value as an integer value.asLong()
Get the attribute value as a long value.asString()
Get the attribute value as a string value.edit()
Obtain an editor that contains the same information as this attribute.boolean
int
hashCode()
name()
The attribute name.toString()
value()
The attribute value.
-
Field Details
-
name
-
value
-
-
Constructor Details
-
AttributeImpl
-
-
Method Details
-
name
Description copied from interface:Attribute
The attribute name. -
value
Description copied from interface:Attribute
The attribute value. -
asString
Description copied from interface:Attribute
Get the attribute value as a string value. -
asInteger
Description copied from interface:Attribute
Get the attribute value as an integer value. -
asLong
Description copied from interface:Attribute
Get the attribute value as a long value. -
asBoolean
Description copied from interface:Attribute
Get the attribute value as a boolean value. This conversion is based onBoolean.parseBoolean(String)
semantics. -
asBigInteger
Description copied from interface:Attribute
Get the attribute value as a big integer value.- Specified by:
asBigInteger
in interfaceAttribute
- Returns:
- the attribute value converted to a
BigInteger
, may be null
-
asBigDecimal
Description copied from interface:Attribute
Get the attribute value as a big decimal value.- Specified by:
asBigDecimal
in interfaceAttribute
- Returns:
- the attribute value converted to a
BigDecimal
, may be null
-
asFloat
Description copied from interface:Attribute
Get the attribute value as a float value. -
asDouble
Description copied from interface:Attribute
Get the attribute value as a double value. -
equals
-
hashCode
public int hashCode() -
toString
-
edit
Description copied from interface:Attribute
Obtain an editor that contains the same information as this attribute.
-