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 TypeMethodDescriptionboolean
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
ofPrimitive
(int sqlType, int nullable) static RelationalArrayMetaData
ofStruct
(StructMetaData metaData, int nullable) <T> T
-
Method Details
-
ofPrimitive
-
ofStruct
-
isElementNullable
- Specified by:
isElementNullable
in interfaceArrayMetaData
- Throws:
SQLException
-
getElementName
- Specified by:
getElementName
in interfaceArrayMetaData
- Throws:
SQLException
-
getElementType
- Specified by:
getElementType
in interfaceArrayMetaData
- Throws:
SQLException
-
getElementTypeName
- Specified by:
getElementTypeName
in interfaceArrayMetaData
- Throws:
SQLException
-
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.
-
getElementField
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
-
equals
-
hashCode
public int hashCode()
-