public class NativeQueryAttributesBindValue extends java.lang.Object implements QueryAttributesBindValue
Modifier and Type | Field and Description |
---|---|
protected int |
type
The attribute MySQL type
|
java.lang.Object |
value
The attribute value
|
Modifier | Constructor and Description |
---|---|
protected |
NativeQueryAttributesBindValue(java.lang.String name,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
long |
getBoundLength()
Gets the length of this query attribute.
|
java.lang.String |
getName()
Gets the name of this query attribute.
|
int |
getType()
Gets the type of this query attribute.
|
java.lang.Object |
getValue()
Gets the value of this query attribute.
|
boolean |
isNull()
Checks whether this query attribute is the
null value. |
public java.lang.Object value
protected int type
protected NativeQueryAttributesBindValue(java.lang.String name, java.lang.Object value)
public boolean isNull()
QueryAttributesBindValue
null
value.isNull
in interface QueryAttributesBindValue
true
if this query attribute value is null
.public java.lang.String getName()
QueryAttributesBindValue
getName
in interface QueryAttributesBindValue
public int getType()
QueryAttributesBindValue
MysqlType
.FIELD_TYPE_*.getType
in interface QueryAttributesBindValue
public java.lang.Object getValue()
QueryAttributesBindValue
getValue
in interface QueryAttributesBindValue
public long getBoundLength()
QueryAttributesBindValue
getBoundLength
in interface QueryAttributesBindValue