org.gcube.data.analysis.tabulardata.service.query
Class QueryInterfaceMock

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.service.query.QueryInterfaceMock
All Implemented Interfaces:
org.gcube.data.analysis.tabulardata.service.query.QueryInterface, org.gcube.data.analysis.tabulardata.service.query.QueryInterfaceJson

public class QueryInterfaceMock
extends Object
implements org.gcube.data.analysis.tabulardata.service.query.QueryInterface


Constructor Summary
QueryInterfaceMock()
           
 
Method Summary
 int getQueryLenght(org.gcube.data.analysis.tabulardata.model.table.TableId tableId, org.gcube.data.analysis.tabulardata.query.parameters.QueryFilter filter)
           
 org.gcube.data.analysis.tabulardata.model.table.Table getTable(org.gcube.data.analysis.tabulardata.model.table.TableId tableId)
           
 String queryAsJson(org.gcube.data.analysis.tabulardata.model.table.TableId tableId, org.gcube.data.analysis.tabulardata.query.parameters.QueryPage page)
           
 String queryAsJson(org.gcube.data.analysis.tabulardata.model.table.TableId tableId, org.gcube.data.analysis.tabulardata.query.parameters.QueryPage page, org.gcube.data.analysis.tabulardata.query.parameters.QueryFilter filter)
           
 String queryAsJson(org.gcube.data.analysis.tabulardata.model.table.TableId tableId, org.gcube.data.analysis.tabulardata.query.parameters.QueryPage page, org.gcube.data.analysis.tabulardata.query.parameters.QueryFilter filter, org.gcube.data.analysis.tabulardata.query.parameters.QueryOrder order)
           
 String queryAsJson(org.gcube.data.analysis.tabulardata.model.table.TableId tableId, org.gcube.data.analysis.tabulardata.query.parameters.QueryPage page, org.gcube.data.analysis.tabulardata.query.parameters.QueryOrder order)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryInterfaceMock

public QueryInterfaceMock()
Method Detail

queryAsJson

public String queryAsJson(org.gcube.data.analysis.tabulardata.model.table.TableId tableId,
                          org.gcube.data.analysis.tabulardata.query.parameters.QueryPage page,
                          org.gcube.data.analysis.tabulardata.query.parameters.QueryFilter filter,
                          org.gcube.data.analysis.tabulardata.query.parameters.QueryOrder order)
                   throws org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException
Specified by:
queryAsJson in interface org.gcube.data.analysis.tabulardata.service.query.QueryInterfaceJson
Throws:
org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException

queryAsJson

public String queryAsJson(org.gcube.data.analysis.tabulardata.model.table.TableId tableId,
                          org.gcube.data.analysis.tabulardata.query.parameters.QueryPage page,
                          org.gcube.data.analysis.tabulardata.query.parameters.QueryFilter filter)
                   throws org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException
Specified by:
queryAsJson in interface org.gcube.data.analysis.tabulardata.service.query.QueryInterfaceJson
Throws:
org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException

queryAsJson

public String queryAsJson(org.gcube.data.analysis.tabulardata.model.table.TableId tableId,
                          org.gcube.data.analysis.tabulardata.query.parameters.QueryPage page,
                          org.gcube.data.analysis.tabulardata.query.parameters.QueryOrder order)
                   throws org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException
Specified by:
queryAsJson in interface org.gcube.data.analysis.tabulardata.service.query.QueryInterfaceJson
Throws:
org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException

queryAsJson

public String queryAsJson(org.gcube.data.analysis.tabulardata.model.table.TableId tableId,
                          org.gcube.data.analysis.tabulardata.query.parameters.QueryPage page)
                   throws org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException
Specified by:
queryAsJson in interface org.gcube.data.analysis.tabulardata.service.query.QueryInterfaceJson
Throws:
org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException

getTable

public org.gcube.data.analysis.tabulardata.model.table.Table getTable(org.gcube.data.analysis.tabulardata.model.table.TableId tableId)
                                                               throws org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException
Specified by:
getTable in interface org.gcube.data.analysis.tabulardata.service.query.QueryInterface
Throws:
org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException

getQueryLenght

public int getQueryLenght(org.gcube.data.analysis.tabulardata.model.table.TableId tableId,
                          org.gcube.data.analysis.tabulardata.query.parameters.QueryFilter filter)
                   throws org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException
Specified by:
getQueryLenght in interface org.gcube.data.analysis.tabulardata.service.query.QueryInterface
Throws:
org.gcube.data.analysis.tabulardata.service.exception.NoSuchTableException


Copyright © 2013. All Rights Reserved.