Class RelationalArrayMetaData
java.lang.Object
com.apple.foundationdb.relational.api.RelationalArrayMetaData
- All Implemented Interfaces:
ArrayMetaData
,Wrapper
@API(EXPERIMENTAL)
public final class RelationalArrayMetaData
extends Object
implements ArrayMetaData
Metadata describing what is in a
RelationalArray
.-
Method Summary
Modifier and TypeMethodDescriptionGet theDataType
object equivalent of this metadata.boolean
Get the Metadata for an array type.Get the Metadata for a nested struct type.int
int
hashCode()
int
boolean
isWrapperFor
(Class<?> iface) static RelationalArrayMetaData
of
(DataType.ArrayType type) <T> T
-
Method Details
-
of
-
isElementNullable
public int isElementNullable()- Specified by:
isElementNullable
in interfaceArrayMetaData
-
getElementName
- Specified by:
getElementName
in interfaceArrayMetaData
- Throws:
SQLException
-
getElementType
- Specified by:
getElementType
in interfaceArrayMetaData
- Throws:
SQLException
-
getElementTypeName
- Specified by:
getElementTypeName
in interfaceArrayMetaData
-
getElementStructMetaData
Get the Metadata for a nested struct type. If the column is not a struct type, this will throw an error.- Specified by:
getElementStructMetaData
in interfaceArrayMetaData
- Returns:
- the metadata for the struct at column
oneBasedColumn
- Throws:
SQLException
- if the type of the column is not a struct, or if something else goes wrong.
-
getElementArrayMetaData
Get the Metadata for an array type. If the column is not an array type, this will throw an error.- Specified by:
getElementArrayMetaData
in interfaceArrayMetaData
- Returns:
- the metadata for the array at column
oneBasedColumn
- Throws:
SQLException
- if the type of the column is not an array, or if something else goes wrong.
-
asRelationalType
Description copied from interface:ArrayMetaData
Get theDataType
object equivalent of this metadata.- Specified by:
asRelationalType
in interfaceArrayMetaData
- Returns:
- the datatype object.
- Throws:
SQLException
- if something goes wrong.
-
getElementDataType
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
-
equals
-
hashCode
public int hashCode()
-