Package org.mariadb.jdbc.plugin.array
Class FloatArray
- java.lang.Object
-
- org.mariadb.jdbc.plugin.array.FloatArray
-
- All Implemented Interfaces:
java.sql.Array
public class FloatArray extends java.lang.Object implements java.sql.Array
-
-
Constructor Summary
Constructors Constructor Description FloatArray(float[] val, Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
void
free()
java.lang.Object
getArray()
java.lang.Object
getArray(long index, int count)
java.lang.Object
getArray(long index, int count, java.util.Map<java.lang.String,java.lang.Class<?>> map)
java.lang.Object
getArray(java.util.Map<java.lang.String,java.lang.Class<?>> map)
int
getBaseType()
java.lang.String
getBaseTypeName()
java.sql.ResultSet
getResultSet()
java.sql.ResultSet
getResultSet(long index, int count)
java.sql.ResultSet
getResultSet(long index, int count, java.util.Map<java.lang.String,java.lang.Class<?>> map)
java.sql.ResultSet
getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>> map)
int
hashCode()
-
-
-
Field Detail
-
val
private final float[] val
-
context
private Context context
-
-
Constructor Detail
-
FloatArray
public FloatArray(float[] val, Context context)
-
-
Method Detail
-
getBaseTypeName
public java.lang.String getBaseTypeName() throws java.sql.SQLException
- Specified by:
getBaseTypeName
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
getBaseType
public int getBaseType() throws java.sql.SQLException
- Specified by:
getBaseType
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
getArray
public java.lang.Object getArray() throws java.sql.SQLException
- Specified by:
getArray
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
getArray
public java.lang.Object getArray(java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
- Specified by:
getArray
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
getArray
public java.lang.Object getArray(long index, int count) throws java.sql.SQLException
- Specified by:
getArray
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
getArray
public java.lang.Object getArray(long index, int count, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
- Specified by:
getArray
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
getResultSet
public java.sql.ResultSet getResultSet() throws java.sql.SQLException
- Specified by:
getResultSet
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
getResultSet
public java.sql.ResultSet getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
- Specified by:
getResultSet
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
getResultSet
public java.sql.ResultSet getResultSet(long index, int count) throws java.sql.SQLException
- Specified by:
getResultSet
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
getResultSet
public java.sql.ResultSet getResultSet(long index, int count, java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
- Specified by:
getResultSet
in interfacejava.sql.Array
- Throws:
java.sql.SQLException
-
free
public void free()
- Specified by:
free
in interfacejava.sql.Array
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-