public interface DliStruct
Modifier and Type | Method and Description |
---|---|
int |
getFieldCount()
Get the field number of this struct.
|
String |
getFieldName(int index)
Get the field name by the index of the struct
|
DataTypeInfo |
getFieldTypeInfo(int index)
Get the field type info by the index of the struct
|
DataTypeInfo |
getFieldTypeInfo(String fieldName)
Get the field type info the field name of the struct
|
Object |
getFieldValue(int index)
Get the field value by the index of the struct
|
Object |
getFieldValue(String fieldName)
Get the field value by the field name of the struct
|
List<Object> |
getFieldValues()
Get the List of field values of the struct
|
int getFieldCount() throws DLIException
DLIException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyString getFieldName(int index)
index
- struct indexDataTypeInfo getFieldTypeInfo(int index)
index
- struct indexObject getFieldValue(int index) throws DLIException
index
- struct indexDLIException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyDataTypeInfo getFieldTypeInfo(String fieldName)
fieldName
- the field name of the structObject getFieldValue(String fieldName) throws DLIException
fieldName
- the field name of the structDLIException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyList<Object> getFieldValues() throws DLIException
DLIException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyCopyright © 2023. All rights reserved.