org.apache.accumulo.examples.wikisearch.query
Class Query
java.lang.Object
org.apache.accumulo.examples.wikisearch.query.Query
- All Implemented Interfaces:
- IQuery
public class Query
- extends Object
- implements IQuery
Constructor Summary |
Query()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query
public Query()
init
@PostConstruct
public void init()
close
@PreDestroy
public void close()
html
public String html(String query,
String auths)
- Specified by:
html
in interface IQuery
xml
public Results xml(String query,
String auths)
- Specified by:
xml
in interface IQuery
json
public Results json(String query,
String auths)
- Specified by:
json
in interface IQuery
yaml
public Results yaml(String query,
String auths)
- Specified by:
yaml
in interface IQuery
content
public Results content(String query,
String auths)
- Specified by:
content
in interface IQuery
query
public Results query(String query,
String auths)
- calls the query logic with the parameters, returns results
- Parameters:
query
- auths
-
- Returns:
- The results of a query
- Throws:
ParseException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.