Class CustomWrapperResult
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceImportant: do not implement or reference this interface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoke this method to add a row to the result set.voidaddRow(Object[] row, List<CustomWrapperFieldExpression> projectedFields) Deprecated.Returns the schema of this instance of the custom wrapper.voidImportant: do not invoke this method.voidsetProjectedFields(List<CustomWrapperFieldExpression> projectedFields)
-
Constructor Details
-
CustomWrapperResult
public CustomWrapperResult()
-
-
Method Details
-
addRow
Deprecated.Use methodaddRow(Object[])Invoke this method to add a row to the result set.The elements of the parameter array have to contain the values of the row. You have to place these elements in the same order as the fields in the list projectedFields. For example, if the field f3 is the first one in the list projectedFields, its value also has to be in the first position of the array.
Except in very rare scenarios, the value of the parameter projectedFields always has to be the input parameter projectedFields of the method
runof the CustomWrapper interface, from which you invoke this method.- Parameters:
row- array ofObjectthat contains the values of the row.projectedFields- list of projected fields.
-
addRow
Invoke this method to add a row to the result set.The elements of the parameter row have to contain the values of the row. You have to place these elements in the same order as the fields in the list projectedFields received in the
runmethod of the wrapper. For example, if the field f3 is the first one in the list projectedFields, its value also has to be in the first position of the array.- Parameters:
row- array ofObjectthat contains the values of the row.- Since:
- 7.0u20200310
-
getSchema
Returns the schema of this instance of the custom wrapper.- Returns:
- an array of
CustomWrapperSchemaParameter
-
setListener
Important: do not invoke this method. For internal purposes only.- Parameters:
listener- -
-
getProjectedFields
-
setProjectedFields
-
addRow(Object[])