public class PassThroughResultTransformer extends BasicTransformerAdapter implements TupleSubsetResultTransformer
???
| Modifier and Type | Field and Description |
|---|---|
static PassThroughResultTransformer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean[] |
includeInTransform(String[] aliases,
int tupleLength)
Returns an array with the i-th element indicating whether the i-th
element of the tuple is included in the transformed value.
|
boolean |
isTransformedValueATupleElement(String[] aliases,
int tupleLength)
When a tuple is transformed, is the result a single element of the tuple?
|
Object |
transformTuple(Object[] tuple,
String[] aliases)
Tuples are the elements making up each "row" of the query result.
|
transformListclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformListpublic static final PassThroughResultTransformer INSTANCE
public Object transformTuple(Object[] tuple, String[] aliases)
ResultTransformerTuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row.
transformTuple in interface ResultTransformertransformTuple in class BasicTransformerAdaptertuple - The result elementsaliases - The result aliases ("parallel" array to tuple)public boolean isTransformedValueATupleElement(String[] aliases, int tupleLength)
TupleSubsetResultTransformerWhen a tuple is transformed, is the result a single element of the tuple?
isTransformedValueATupleElement in interface TupleSubsetResultTransformeraliases - - the aliases that correspond to the tupletupleLength - - the number of elements in the tuplepublic boolean[] includeInTransform(String[] aliases, int tupleLength)
TupleSubsetResultTransformerReturns an array with the i-th element indicating whether the i-th element of the tuple is included in the transformed value.
includeInTransform in interface TupleSubsetResultTransformeraliases - - the aliases that correspond to the tupletupleLength - - the number of elements in the tupleCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.