Interface CustomRecordType
public interface CustomRecordType
This class represents a record in the Denodo Platform types structure. A
record is a complex type having a set of non ordered fields. These fields may
have any valid simple or complex type.
- Since:
- 4.6
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThis object stores the information of each element in the record. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Method to obtain the name of the record type.This method returns all the properties contained in the record.getPropertyType(String fieldName) Method to obtain the type of a fieldintsize()Method to obtain the number of properties of the record type.
-
Method Details
-
getProperties
Collection<CustomRecordType.Property> getProperties()This method returns all the properties contained in the record.- Returns:
- A collection of the
CustomRecordType.Propertyobjects defining the record.
-
size
int size()Method to obtain the number of properties of the record type. Equivalent to getProperties().size().- Returns:
- The number of properties in the record.
-
getName
String getName()Method to obtain the name of the record type.- Returns:
- The name of the type represented by this object.
-
getPropertyType
Method to obtain the type of a field- Parameters:
fieldName- The field- Returns:
- The type of the given field, this can be a
CustomArrayType, aCustomRecordTypeor aClassfor the simple types
-