Class CustomWrapperResult
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Important: do not implement or reference this interface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoke this method to add a row to the result set.void
addRow
(Object[] row, List<CustomWrapperFieldExpression> projectedFields) Deprecated.Returns the schema of this instance of the custom wrapper.void
Important: do not invoke this method.void
setProjectedFields
(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
run
of the CustomWrapper interface, from which you invoke this method.- Parameters:
row
- array ofObject
that 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
run
method 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 ofObject
that 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[])