跳到主要内容
版本:v3.0.x

getDataType()

This operation returns the data type of an Array of Structs field.

Java
public DataType getDataType()

Request Syntax

Java
getDataType()

RETURN TYPE:

DataType

RETURNS:

The return value will always be DataType.Array.

Examples

Java
// You can get an instance of StructFieldSchema by describing
// a collection containing an Array of Struct field.

structFieldSchema.getDataType();

// DataType.Array