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 theDataTypeobject equivalent of this metadata.booleanGet the Metadata for an array type.Get the Metadata for a nested struct type.intinthashCode()intbooleanisWrapperFor(Class<?> iface) static RelationalArrayMetaDataof(DataType.ArrayType type) <T> T
-
Method Details
-
of
-
isElementNullable
public int isElementNullable()- Specified by:
isElementNullablein interfaceArrayMetaData
-
getElementName
- Specified by:
getElementNamein interfaceArrayMetaData- Throws:
SQLException
-
getElementType
- Specified by:
getElementTypein interfaceArrayMetaData- Throws:
SQLException
-
getElementTypeName
- Specified by:
getElementTypeNamein 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:
getElementStructMetaDatain 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:
getElementArrayMetaDatain 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:ArrayMetaDataGet theDataTypeobject equivalent of this metadata.- Specified by:
asRelationalTypein interfaceArrayMetaData- Returns:
- the datatype object.
- Throws:
SQLException- if something goes wrong.
-
getElementDataType
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperForin interfaceWrapper
-
equals
-
hashCode
public int hashCode()
-