public final class CustomWrapperResult extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CustomWrapperResult.CustomWrapperResultListener
Important: do not implement or reference this interface.
|
Constructor and Description |
---|
CustomWrapperResult() |
Modifier and Type | Method and Description |
---|---|
void |
addRow(Object[] row)
Invoke this method to add a row to the result set.
|
void |
addRow(Object[] row,
List<CustomWrapperFieldExpression> projectedFields)
Deprecated.
Use method
addRow(Object[]) |
List<CustomWrapperFieldExpression> |
getProjectedFields() |
CustomWrapperSchemaParameter[] |
getSchema()
Returns the schema of this instance of the custom wrapper.
|
void |
setListener(CustomWrapperResult.CustomWrapperResultListener listener)
Important: do not invoke this method.
|
void |
setProjectedFields(List<CustomWrapperFieldExpression> projectedFields) |
@Deprecated public void addRow(Object[] row, List<CustomWrapperFieldExpression> projectedFields)
addRow(Object[])
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.
row
- array of Object
that contains the values of the row.projectedFields
- list of projected fields.public void addRow(Object[] row)
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.
row
- array of Object
that contains the values of the row.public CustomWrapperSchemaParameter[] getSchema()
CustomWrapperSchemaParameter
public void setListener(CustomWrapperResult.CustomWrapperResultListener listener)
listener
- -public List<CustomWrapperFieldExpression> getProjectedFields()
public void setProjectedFields(List<CustomWrapperFieldExpression> projectedFields)
Copyright © 2023 Denodo Technologies. All rights reserved.