|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.console.filter.ResultTransformFilter
public abstract class ResultTransformFilter
| Field Summary |
|---|
| Fields inherited from interface org.apache.activemq.console.filter.QueryFilter |
|---|
QUERY_DELIMETER |
| Constructor Summary | |
|---|---|
protected |
ResultTransformFilter(QueryFilter next)
Constructs a query filter that transform the format of the query result |
| Method Summary | |
|---|---|
java.util.List<java.lang.Object> |
query(java.util.List queries)
Transforms the queried results to a collection of different objects |
java.util.List |
query(java.lang.String query)
Transforms the queried results to a collection of different objects |
protected abstract java.lang.Object |
transformElement(java.lang.Object obj)
Transform a result object |
protected java.util.List<java.lang.Object> |
transformList(java.util.List<java.lang.Object> result)
Transforms a collection to a collection of different objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ResultTransformFilter(QueryFilter next)
next - - the query filter to retrieve the results from| Method Detail |
|---|
public java.util.List query(java.lang.String query)
throws java.lang.Exception
query in interface QueryFilterquery - - the query string
java.lang.Exception
public java.util.List<java.lang.Object> query(java.util.List queries)
throws java.lang.Exception
query in interface QueryFilterqueries - - the query map
java.lang.Exception
protected java.util.List<java.lang.Object> transformList(java.util.List<java.lang.Object> result)
throws java.lang.Exception
result - - the collection to transform
java.lang.Exception
protected abstract java.lang.Object transformElement(java.lang.Object obj)
throws java.lang.Exception
obj - - the object instance to transform
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||