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
Fields -
Constructor Summary
Constructors -
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.booleaninthashCode()name()The attribute name.toString()value()The attribute value.
-
Field Details
-
name
-
value
-
-
Constructor Details
-
AttributeImpl
-
-
Method Details
-
name
Description copied from interface:AttributeThe attribute name. -
value
Description copied from interface:AttributeThe attribute value. -
asString
Description copied from interface:AttributeGet the attribute value as a string value. -
asInteger
Description copied from interface:AttributeGet the attribute value as an integer value. -
asLong
Description copied from interface:AttributeGet the attribute value as a long value. -
asBoolean
Description copied from interface:AttributeGet the attribute value as a boolean value. This conversion is based onBoolean.parseBoolean(String)semantics. -
asBigInteger
Description copied from interface:AttributeGet the attribute value as a big integer value.- Specified by:
asBigIntegerin interfaceAttribute- Returns:
- the attribute value converted to a
BigInteger, may be null
-
asBigDecimal
Description copied from interface:AttributeGet the attribute value as a big decimal value.- Specified by:
asBigDecimalin interfaceAttribute- Returns:
- the attribute value converted to a
BigDecimal, may be null
-
asFloat
Description copied from interface:AttributeGet the attribute value as a float value. -
asDouble
Description copied from interface:AttributeGet the attribute value as a double value. -
equals
-
hashCode
public int hashCode() -
toString
-
edit
Description copied from interface:AttributeObtain an editor that contains the same information as this attribute.
-