public interface QueryFactory
| Modifier and Type | Method and Description |
|---|---|
int |
getDeleteQueryType()
Returns the number of the delete query configured using the parameter class for
the factory.
|
String |
getPreparedQuery(int queryType)
Returns a query string for a prepared statement for the given query type, parameterized by the
given integer value.
|
String |
getQuery(int queryType,
int i)
Returns a query string for the given query type, parameterized by the
given integer value.
|
int |
getQueryType()
Returns the number of the query configured using the parameter class for
the factory.
|
int |
getUpdateQueryType()
Returns the number of the update query configured using the parameter class for
the factory.
|
void |
init()
(Re)initializes the singleton factory.
|
void init()
int getQueryType()
QueryFactoryException - if the query type is not configured.int getUpdateQueryType()
QueryFactoryException - if the update query type is not configured.int getDeleteQueryType()
QueryFactoryException - if the delete query type is not configured.String getQuery(int queryType, int i)
QueryFactoryException - if the queryType is not found.String getPreparedQuery(int queryType)
QueryFactoryException - if the queryType is not found.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.