A B C D E F G H I J K L M N O P Q R S T U V W X _ 

A

AbstractFactory - Class in org.restsql.core
Base class for generic factories.
AbstractFactory() - Constructor for class org.restsql.core.AbstractFactory
 
AbstractFactory.FactoryHelper - Class in org.restsql.core
Helps lookup implementation configuration, load the class and construct an instance.
AbstractFactory.FactoryHelper(String, String) - Constructor for class org.restsql.core.AbstractFactory.FactoryHelper
 
AbstractResourceDefinitionGenerator - Class in org.restsql.tools.impl
Base implemenation for generator.
AbstractResourceDefinitionGenerator() - Constructor for class org.restsql.tools.impl.AbstractResourceDefinitionGenerator
 
AbstractSequenceManager - Class in org.restsql.core.impl
 
AbstractSequenceManager() - Constructor for class org.restsql.core.impl.AbstractSequenceManager
 
AbstractSqlBuilder - Class in org.restsql.core.impl
Builds SQL for an operation on a SQL Resource.
AbstractSqlBuilder() - Constructor for class org.restsql.core.impl.AbstractSqlBuilder
 
AbstractSqlResourceMetaData - Class in org.restsql.core.impl
Represents meta data for sql resource.
AbstractSqlResourceMetaData() - Constructor for class org.restsql.core.impl.AbstractSqlResourceMetaData
 
AbstractTrigger - Class in org.restsql.core
Contains no-op implementation of Trigger interface.
AbstractTrigger() - Constructor for class org.restsql.core.AbstractTrigger
 
accept - Variable in class org.restsql.core.sqlresource.DocumentationRequest
 
addColumn(ColumnMetaData) - Method in class org.restsql.core.impl.TableMetaDataImpl
 
addColumn(ColumnMetaData) - Method in interface org.restsql.core.TableMetaData
Adds normal column.
addPrimaryKey(ColumnMetaData) - Method in class org.restsql.core.impl.TableMetaDataImpl
 
addPrimaryKey(ColumnMetaData) - Method in interface org.restsql.core.TableMetaData
Adds primary key column.
addRow(Set<ResponseValue>) - Method in class org.restsql.core.WriteResponse
Adds request result.
addRowsAffected(int) - Method in class org.restsql.core.WriteResponse
Adds to rows affected.
addSql(String) - Method in class org.restsql.core.impl.RequestLoggerImpl
Adds a SQL statement generated during request processing.
addSql(String) - Method in interface org.restsql.core.RequestLogger
Adds a SQL statement generated during request processing.
addWriteResponse(WriteResponse) - Method in class org.restsql.core.WriteResponse
Appends contents of response.
afterDelete(Request) - Method in class org.restsql.core.AbstractTrigger
 
afterDelete(Request) - Method in interface org.restsql.core.Trigger
 
afterInsert(Request) - Method in class org.restsql.core.AbstractTrigger
 
afterInsert(Request) - Method in interface org.restsql.core.Trigger
 
afterSelect(Request) - Method in class org.restsql.core.AbstractTrigger
 
afterSelect(Request) - Method in interface org.restsql.core.Trigger
 
afterUpdate(Request) - Method in class org.restsql.core.AbstractTrigger
 
afterUpdate(Request) - Method in interface org.restsql.core.Trigger
 
alias - Variable in class org.restsql.core.sqlresource.Table
 
appendToBothClauses(String) - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
appendToBothMains(String) - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
Authorizer - Interface in org.restsql.security
Authorizes restSQL requests.
AuthorizerImpl - Class in org.restsql.security.impl
Authorizes restSQL requests using privileges properties file, which maps roles to request types on SQL Resources.
AuthorizerImpl() - Constructor for class org.restsql.security.impl.AuthorizerImpl
For use by the Factory.

B

beforeDelete(Request) - Method in class org.restsql.core.AbstractTrigger
 
beforeDelete(Request) - Method in interface org.restsql.core.Trigger
 
beforeInsert(Request) - Method in class org.restsql.core.AbstractTrigger
 
beforeInsert(Request) - Method in interface org.restsql.core.Trigger
 
beforeSelect(Request) - Method in class org.restsql.core.AbstractTrigger
 
beforeSelect(Request) - Method in interface org.restsql.core.Trigger
 
beforeUpdate(Request) - Method in class org.restsql.core.AbstractTrigger
 
beforeUpdate(Request) - Method in interface org.restsql.core.Trigger
 
bestMatch(Collection<String>, String) - Static method in class org.restsql.core.impl.MediaTypeParser
Takes a list of supported mime-types and finds the best match for all the media-ranges listed in header.
BinaryObject - Class in org.restsql.core
Wraps a byte array for input/output to a binary type column.
BinaryObject(byte[]) - Constructor for class org.restsql.core.BinaryObject
 
body - Variable in class org.restsql.core.sqlresource.DocumentationRequest
 
body - Variable in class org.restsql.core.sqlresource.DocumentationResponse
 
buildPreparedParameterSql(ColumnMetaData) - Method in class org.restsql.core.impl.AbstractSqlBuilder
Enables override for databases like PostgreSQL that need special handling for enumerations.
buildPreparedParameterSql(ColumnMetaData) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlBuilder
 
buildSelectLimitSql(int, int) - Method in class org.restsql.core.impl.AbstractSqlBuilder
Creates select SQL limit clause.
buildSelectLimitSql(int, int) - Method in class org.restsql.core.impl.mysql.MySqlSqlBuilder
 
buildSelectLimitSql(int, int) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlBuilder
 
buildSelectSql(SqlResourceMetaData, String, Request) - Method in class org.restsql.core.impl.AbstractSqlBuilder
Creates select SQL.
buildSelectSql(SqlResourceMetaData, String, Request) - Method in interface org.restsql.core.SqlBuilder
Creates select SQL.
buildSqlResourceListing() - Static method in class org.restsql.service.HttpRequestHelper
Builds HTML page with SQL Resources and actions for each.
buildWriteSql(SqlResourceMetaData, Request, boolean) - Method in class org.restsql.core.impl.AbstractSqlBuilder
Creates update, insert or delete SQL.
buildWriteSql(SqlResourceMetaData, Request, boolean) - Method in interface org.restsql.core.SqlBuilder
Creates update, insert or delete SQL.

C

cacheControl - Variable in class org.restsql.core.sqlresource.HttpResponse
 
check() - Method in class org.restsql.service.monitoring.DatabaseConnectionHealthCheck
 
checkForInvalidMultipleParameters(List<RequestValue>) - Static method in class org.restsql.core.RequestUtil
Checks for parameter list validity.
column - Variable in class org.restsql.core.sqlresource.DocumentationColumns
 
ColumnMetaData - Interface in org.restsql.core
Encapsulates column (or field) metadata of an SQL Resource.
ColumnMetaDataImpl - Class in org.restsql.core.impl
Represents column (field) metadata.
ColumnMetaDataImpl() - Constructor for class org.restsql.core.impl.ColumnMetaDataImpl
 
columns - Variable in class org.restsql.core.sqlresource.Documentation
 
compareTo(ColumnMetaData) - Method in interface org.restsql.core.ColumnMetaData
Compares another column based on the column number of the select clause in the SQL Resource definition query.
compareTo(ColumnMetaData) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
compareTo(MediaTypeParser.FitnessAndQuality) - Method in class org.restsql.core.impl.MediaTypeParser.FitnessAndQuality
 
compareTo(ResponseValue) - Method in class org.restsql.core.ResponseValue
 
compileStatements() - Method in class org.restsql.core.SqlBuilder.SqlStruct
Appends clause to the main for the complete statement, and prepared clause to the main for the complete prepared statement.
Config - Class in org.restsql.core
Loads properties from user-supplied file, defines property keys and defaults, and configures logging for framework.
Config() - Constructor for class org.restsql.core.Config
 
Config.ImmutableProperties - Class in org.restsql.core
Wraps a java.util.Properties, exposing only the property getter.
Config.ImmutableProperties() - Constructor for class org.restsql.core.Config.ImmutableProperties
 
ConfResource - Class in org.restsql.service
Provides access to framework, resource, logging and security configuration.
ConfResource() - Constructor for class org.restsql.service.ConfResource
 
ConnectionFactoryImpl - Class in org.restsql.core.impl
Simple non-pooled connection factory that creates a new connection on every call.
ConnectionFactoryImpl() - Constructor for class org.restsql.core.impl.ConnectionFactoryImpl
 
containsKey(String) - Method in class org.restsql.core.Config.ImmutableProperties
 
contentType - Variable in class org.restsql.core.sqlresource.DocumentationRequest
 
contextDestroyed(ServletContextEvent) - Method in class org.restsql.service.LifecycleListener
 
contextInitialized(ServletContextEvent) - Method in class org.restsql.service.LifecycleListener
 
convertToStandardInternetMediaType(String) - Static method in class org.restsql.core.RequestUtil
Converts short form of media type to the proper internet standard, e.g.
createDatabase() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of Database
createDefs(File, String, String) - Method in class org.restsql.tools.impl.AbstractResourceDefinitionGenerator
Creates resource definitions.
createDocumentation() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of Documentation
createDocumentationColumn() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of DocumentationColumn
createDocumentationColumns() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of DocumentationColumns
createDocumentationDescription() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of DocumentationDescription
createDocumentationExample() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of DocumentationExample
createDocumentationExamples() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of DocumentationExamples
createDocumentationHeader() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of DocumentationHeader
createDocumentationRequest() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of DocumentationRequest
createDocumentationResource() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of DocumentationResource
createDocumentationResponse() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of DocumentationResponse
createHttpConfig() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of HttpConfig
createHttpResponse() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of HttpResponse
createMetaData() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of MetaData
createQuery() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of Query
createSqlResource(SqlResourceDefinition) - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of JAXBElement<SqlResourceDefinition>}
createSqlResourceDefinition() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of SqlResourceDefinition
createSubDir(String, String) - Method in class org.restsql.tools.impl.AbstractResourceDefinitionGenerator
Creates sub directory if it does not exist.
createTable() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of Table
createValidatedAttribute() - Method in class org.restsql.core.sqlresource.ObjectFactory
Create an instance of ValidatedAttribute

D

Database - Class in org.restsql.core.sqlresource
Java class for Database complex type.
Database() - Constructor for class org.restsql.core.sqlresource.Database
 
database - Variable in class org.restsql.core.sqlresource.MetaData
 
DatabaseConnectionHealthCheck - Class in org.restsql.service.monitoring
Pings configured database.
DatabaseConnectionHealthCheck() - Constructor for class org.restsql.service.monitoring.DatabaseConnectionHealthCheck
 
DEFAULT_AUTHORIZER - Static variable in class org.restsql.core.Config
 
DEFAULT_COLUMN_METADATA - Static variable in class org.restsql.core.Config
 
DEFAULT_CONNECTION_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_DATABASE_DRIVER_CLASSNAME - Static variable in class org.restsql.core.Config
 
DEFAULT_DATABASE_PASSWORD - Static variable in class org.restsql.core.Config
 
DEFAULT_DATABASE_URL - Static variable in class org.restsql.core.Config
 
DEFAULT_DATABASE_USER - Static variable in class org.restsql.core.Config
 
DEFAULT_HTTP_CACHE_CONTROL - Static variable in class org.restsql.core.Config
 
DEFAULT_HTTP_REQUEST_ATTRIBUTES - Static variable in class org.restsql.core.Config
 
DEFAULT_JAVA_LOGGING_CONFIG - Static variable in class org.restsql.core.Config
 
DEFAULT_LOG4J_CONFIG - Static variable in class org.restsql.core.Config
 
DEFAULT_LOGGING_DIR - Static variable in class org.restsql.core.Config
 
DEFAULT_LOGGING_FACILITY - Static variable in class org.restsql.core.Config
 
DEFAULT_MEDIA_TYPE - Static variable in interface org.restsql.core.HttpRequestAttributes
 
DEFAULT_MONITORING_GANGLIA_FREQUENCY - Static variable in class org.restsql.core.Config
 
DEFAULT_MONITORING_GANGLIA_PORT - Static variable in class org.restsql.core.Config
 
DEFAULT_MONITORING_GANGLIA_TTL - Static variable in class org.restsql.core.Config
 
DEFAULT_MONITORING_GANGLIA_UDP_MODE - Static variable in class org.restsql.core.Config
 
DEFAULT_MONITORING_GRAPHITE_FREQUNCY - Static variable in class org.restsql.core.Config
 
DEFAULT_MONITORING_MANAGER - Static variable in class org.restsql.core.Config
 
DEFAULT_REQUEST_DESERIALIZER_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_REQUEST_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_REQUEST_LOGGER - Static variable in class org.restsql.core.Config
 
DEFAULT_REQUEST_USE_XML_SCHEMA - Static variable in class org.restsql.core.Config
 
DEFAULT_RESOURCE_DEFINITION_GENERATOR - Static variable in class org.restsql.core.Config
 
DEFAULT_RESPONSE_SERIALIZER_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_RESPONSE_USE_XML_DIRECTIVE - Static variable in class org.restsql.core.Config
 
DEFAULT_RESPONSE_USE_XML_SCHEMA - Static variable in class org.restsql.core.Config
 
DEFAULT_RESTSQL_PROPERTIES - Static variable in class org.restsql.core.Config
 
DEFAULT_SEQUENCE_MANAGER - Static variable in class org.restsql.core.Config
 
DEFAULT_SQL_BUILDER - Static variable in class org.restsql.core.Config
 
DEFAULT_SQL_RESOURCE_FACTORY - Static variable in class org.restsql.core.Config
 
DEFAULT_SQL_RESOURCE_METADATA - Static variable in class org.restsql.core.Config
 
DEFAULT_SQLRESOURCES_DIR - Static variable in class org.restsql.core.Config
 
DEFAULT_TABLE_METADATA - Static variable in class org.restsql.core.Config
 
DEFAULT_WRITE_RESPONSE - Static variable in class org.restsql.core.Config
 
delete(String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
delete(String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
delete(String, String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
delete(String, UriInfo, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
description - Variable in class org.restsql.core.sqlresource.DocumentationColumn
 
description - Variable in class org.restsql.core.sqlresource.DocumentationResource
 
destroy() - Method in interface org.restsql.core.Factory.ConnectionFactory
 
destroy() - Method in class org.restsql.core.impl.ConnectionFactoryImpl
 
Documentation - Class in org.restsql.core.sqlresource
Java class for Documentation complex type.
Documentation() - Constructor for class org.restsql.core.sqlresource.Documentation
 
documentation - Variable in class org.restsql.core.sqlresource.SqlResourceDefinition
 
DocumentationColumn - Class in org.restsql.core.sqlresource
Java class for Column complex type.
DocumentationColumn() - Constructor for class org.restsql.core.sqlresource.DocumentationColumn
 
DocumentationColumns - Class in org.restsql.core.sqlresource
Java class for Columns complex type.
DocumentationColumns() - Constructor for class org.restsql.core.sqlresource.DocumentationColumns
 
DocumentationDescription - Class in org.restsql.core.sqlresource
Java class for Description complex type.
DocumentationDescription() - Constructor for class org.restsql.core.sqlresource.DocumentationDescription
 
DocumentationExample - Class in org.restsql.core.sqlresource
Java class for Example complex type.
DocumentationExample() - Constructor for class org.restsql.core.sqlresource.DocumentationExample
 
DocumentationExamples - Class in org.restsql.core.sqlresource
Java class for Examples complex type.
DocumentationExamples() - Constructor for class org.restsql.core.sqlresource.DocumentationExamples
 
DocumentationHeader - Class in org.restsql.core.sqlresource
Java class for Header complex type.
DocumentationHeader() - Constructor for class org.restsql.core.sqlresource.DocumentationHeader
 
DocumentationRequest - Class in org.restsql.core.sqlresource
Java class for Request complex type.
DocumentationRequest() - Constructor for class org.restsql.core.sqlresource.DocumentationRequest
 
DocumentationResource - Class in org.restsql.core.sqlresource
Java class for Resource complex type.
DocumentationResource() - Constructor for class org.restsql.core.sqlresource.DocumentationResource
 
DocumentationResponse - Class in org.restsql.core.sqlresource
Java class for Response complex type.
DocumentationResponse() - Constructor for class org.restsql.core.sqlresource.DocumentationResponse
 
dumpConfig(boolean) - Static method in class org.restsql.core.Config
Returns string representation of all non-logging framework properties as name-value pairs.
dumpConfig() - Method in interface org.restsql.security.Authorizer
Returns implementation configuration, e.g.
dumpConfig() - Method in class org.restsql.security.impl.AuthorizerImpl
Returns status message and string representation of all roles and associated privileges.
dumpConfig() - Method in class org.restsql.service.ConfResource
 
dumpLoggingConfig() - Static method in class org.restsql.core.Config
Returns string representation of all logging properties as name-value pairs.
dumpLoggingConfig() - Method in class org.restsql.service.ConfResource
 
dumpSecurityConfig() - Method in class org.restsql.service.ConfResource
 

E

equals(Object) - Method in class org.restsql.core.RequestValue
Returns true if the names, values and operators are equal.
equals(Object) - Method in class org.restsql.core.ResponseValue
Returns true if the names, values and column numbers are equal.
equals(Request.Type) - Method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
 
example - Variable in class org.restsql.core.sqlresource.DocumentationExamples
 
examples - Variable in class org.restsql.core.sqlresource.Documentation
 
executeTriggers(String, Request, boolean) - Static method in class org.restsql.core.impl.TriggerManager
Executes all trigger defined for the resource.
execWrite(HttpRequestAttributes, Request.Type, List<RequestValue>, SqlResource, String, RequestLogger) - Method in class org.restsql.core.impl.serial.JsonRequestDeserializer
 
execWrite(HttpRequestAttributes, Request.Type, List<RequestValue>, SqlResource, String, RequestLogger) - Method in class org.restsql.core.impl.serial.XmlRequestDeserializer
Executes write request.
execWrite(HttpRequestAttributes, Request.Type, List<RequestValue>, SqlResource, String, RequestLogger) - Method in interface org.restsql.core.RequestDeserializer
Executes write request.
extractParameters() - Method in class org.restsql.core.impl.RequestImpl
 
extractParameters() - Method in interface org.restsql.core.Request
Extract limit and offset.

F

Factory - Class in org.restsql.core
Creates implementations and also is a facade for other framework factories.
Factory() - Constructor for class org.restsql.core.Factory
 
Factory.ConnectionFactory - Interface in org.restsql.core
Creates JDBC connection objects.
Factory.RequestDeserializerFactory - Interface in org.restsql.core
Creates RequestDeserializer objects.
Factory.RequestFactory - Interface in org.restsql.core
Creates Request objects.
Factory.ResponseSerializerFactory - Interface in org.restsql.core
Creates ResponseSerializer objects.
Factory.SqlResourceFactory - Interface in org.restsql.core
Creates SQLResource objects.
Factory.SqlResourceFactoryException - Exception in org.restsql.core
Indicates an error in creating a SQL Resource object from a definition.
Factory.SqlResourceFactoryException(String) - Constructor for exception org.restsql.core.Factory.SqlResourceFactoryException
 
Factory.SqlResourceFactoryException(Throwable) - Constructor for exception org.restsql.core.Factory.SqlResourceFactoryException
 
fitnessAndQualityParsed(String, Collection<MediaTypeParser.ParseResults>) - Static method in class org.restsql.core.impl.MediaTypeParser
Find the best match for a given mimeType against a list of media_ranges that have already been parsed by MimeParse.parseMediaRange().
fromHttpMethod(String) - Static method in enum org.restsql.core.Request.Type
 
fromString(String) - Static method in class org.restsql.core.BinaryObject
Parses bytes from base64 string representation.
fromString(String) - Static method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
 

G

generate(String, String, String) - Method in class org.restsql.tools.impl.AbstractResourceDefinitionGenerator
 
generate(String, String, String) - Method in interface org.restsql.tools.ResourceDefinitionGenerator
Creates resource definition files, one per table in the provided database.
generateResourceDefinitions(String, String) - Method in class org.restsql.service.ToolsResource
 
get(String, String, UriInfo, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
get(String, String, String, UriInfo, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
get(String, String, String, String, UriInfo, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
get(String, UriInfo, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
getAccept() - Method in class org.restsql.core.sqlresource.DocumentationRequest
Gets the value of the accept property.
getAlias() - Method in class org.restsql.core.sqlresource.Table
Gets the value of the alias property.
getAllReadColumns() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getAllReadColumns() - Method in interface org.restsql.core.SqlResourceMetaData
 
getApplicationSingletons() - Method in interface org.restsql.service.monitoring.MonitoringManager
Used by application to get singletons for Jersey.
getApplicationSingletons() - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
 
getAuthorizer() - Static method in class org.restsql.security.SecurityFactory
Returns authorizer singleton.
getBody() - Method in class org.restsql.core.sqlresource.DocumentationRequest
Gets the value of the body property.
getBody() - Method in class org.restsql.core.sqlresource.DocumentationResponse
Gets the value of the body property.
getBytes() - Method in class org.restsql.core.BinaryObject
 
getCacheControl() - Method in class org.restsql.core.sqlresource.HttpResponse
Gets the value of the cacheControl property.
getChild() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getChild() - Method in interface org.restsql.core.SqlResourceMetaData
 
getChildPlusExtTables() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getChildPlusExtTables() - Method in interface org.restsql.core.SqlResourceMetaData
 
getChildReadColumns() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getChildReadColumns() - Method in interface org.restsql.core.SqlResourceMetaData
 
getChildrenParameters() - Method in class org.restsql.core.impl.RequestImpl
 
getChildrenParameters() - Method in interface org.restsql.core.Request
Returns children CUD requests to a single parent for a hierarchical SQL Resource.
getChildRequest(Request) - Static method in class org.restsql.core.Factory
Creates request for child row with blank params.
getChildRequest(Request) - Method in interface org.restsql.core.Factory.RequestFactory
 
getChildRequest(Request) - Method in class org.restsql.core.impl.RequestFactoryImpl
 
getClasses() - Method in class org.restsql.service.RestSqlApplication
Configures all the resource classes for the app.
getClause() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getClient() - Method in interface org.restsql.core.HttpRequestAttributes
Returns client IP or hostname.
getClient() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getColumn() - Method in class org.restsql.core.sqlresource.DocumentationColumns
Gets the value of the column property.
getColumnDatabaseName(SqlResourceDefinition, ResultSetMetaData, int) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Retrieves database name from result set meta data.
getColumnDatabaseName(SqlResourceDefinition, ResultSetMetaData, int) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Retrieves database name from result set meta data.
getColumnLabel() - Method in interface org.restsql.core.ColumnMetaData
Returns column label, a string identified in double quotes after columns in the select clause in the SQL Resource definition query.
getColumnLabel() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getColumnMetaData() - Static method in class org.restsql.core.Factory
Creates new column meta data object.
getColumnName() - Method in interface org.restsql.core.ColumnMetaData
Returns column name, as it is known by the database.
getColumnName(SqlResourceDefinition, ResultSetMetaData, int) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Retrieves actual column name from result set meta data.
getColumnName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getColumnName(SqlResourceDefinition, ResultSetMetaData, int) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Retrieves actual column name from result set meta data.
getColumnNumber() - Method in interface org.restsql.core.ColumnMetaData
Returns column number in the select clause in the SQL Resource definition query.
getColumnNumber() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getColumnNumber() - Method in class org.restsql.core.ResponseValue
Returns column number in the select clause in the SQL Resource definition query.
getColumns() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getColumns() - Method in class org.restsql.core.sqlresource.Documentation
Gets the value of the columns property.
getColumns() - Method in interface org.restsql.core.TableMetaData
Returns map of column meta data, keyed by the column label (the alias if provided in the query, otherwise the name).
getColumnsQuery() - Method in class org.restsql.tools.impl.AbstractResourceDefinitionGenerator
Hook method for implementation by db-specific classes.
getColumnsQuery() - Method in class org.restsql.tools.impl.mysql.MySqlResourceDefinitionGenerator
 
getColumnsQuery() - Method in class org.restsql.tools.impl.postgresql.PostgreSqlResourceDefinitionGenerator
 
getColumnTableName(SqlResourceDefinition, ResultSetMetaData, int) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Retrieves table name from result set meta data.
getColumnTableName(SqlResourceDefinition, ResultSetMetaData, int) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Retrieves table name from result set meta data.
getColumnType() - Method in interface org.restsql.core.ColumnMetaData
Returns column type from java.sql.Types.
getColumnType() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getColumnType(int, String) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
Method for subclasses to customize column type if desired.
getColumnType(int, String) - Method in class org.restsql.core.impl.mysql.MySqlColumnMetaData
Compensates for the MySQL JDBC driver which returns Date object for YEAR type.
getColumnTypeName() - Method in interface org.restsql.core.ColumnMetaData
Returns column type name as given by the database JDBC driver.
getColumnTypeName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getConnection(String) - Method in interface org.restsql.core.Factory.ConnectionFactory
 
getConnection(String) - Static method in class org.restsql.core.Factory
Returns connection.
getConnection(String) - Method in class org.restsql.core.impl.ConnectionFactoryImpl
 
getConnectionFactory() - Static method in class org.restsql.core.Factory
Return connection factory.
getContentType() - Method in class org.restsql.core.sqlresource.DocumentationRequest
Gets the value of the contentType property.
getCurrentAccessLog() - Method in class org.restsql.service.LogResource
 
getCurrentErrorLog() - Method in class org.restsql.service.LogResource
 
getCurrentInternalLog() - Method in class org.restsql.service.LogResource
 
getCurrentTraceLog() - Method in class org.restsql.service.LogResource
 
getCurrentValue(Connection, String) - Method in class org.restsql.core.impl.AbstractSequenceManager
 
getCurrentValue(Connection, String) - Method in interface org.restsql.core.SequenceManager
Retrieves current sequence value.
getCurrentValueSql(String) - Method in class org.restsql.core.impl.AbstractSequenceManager
 
getCurrentValueSql(String) - Method in class org.restsql.core.impl.mysql.MySqlSequenceManager
 
getCurrentValueSql(String) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSequenceManager
 
getDatabase() - Method in class org.restsql.core.sqlresource.MetaData
Gets the value of the database property.
getDatabaseName() - Method in interface org.restsql.core.ColumnMetaData
Returns database name.
getDatabaseName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getDatabaseName() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getDatabaseName() - Method in interface org.restsql.core.TableMetaData
Returns database name.
getDefault() - Method in class org.restsql.core.sqlresource.Database
Gets the value of the default property.
getDefaultDatabase(SqlResourceDefinition) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Returns default database.
getDefinition() - Method in class org.restsql.core.impl.SqlResourceImpl
 
getDefinition() - Method in interface org.restsql.core.SqlResource
Returns SQL resource information defined by the user, including query, validated attributes and trigger.
getDefinition(String, HttpServletRequest) - Method in class org.restsql.service.ConfResource
 
getDescription() - Method in class org.restsql.core.sqlresource.DocumentationColumn
Gets the value of the description property.
getDescription() - Method in class org.restsql.core.sqlresource.DocumentationResource
Gets the value of the description property.
getDocumentation() - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Gets the value of the documentation property.
getDocumentation(String, HttpServletRequest) - Method in class org.restsql.service.ConfResource
 
getExample() - Method in class org.restsql.core.sqlresource.DocumentationExamples
Gets the value of the example property.
getExamples() - Method in class org.restsql.core.sqlresource.Documentation
Gets the value of the examples property.
getHeader() - Method in class org.restsql.core.sqlresource.DocumentationRequest
Gets the value of the header property.
getHeader() - Method in class org.restsql.core.sqlresource.DocumentationResponse
Gets the value of the header property.
getHealthCheckRegistry() - Method in class org.restsql.service.monitoring.HealthCheckServletContextListener
 
getHealthCheckRegistry() - Method in interface org.restsql.service.monitoring.MonitoringManager
 
getHealthCheckRegistry() - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
 
getHttp() - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Gets the value of the http property.
getHttpRequestAttributes(String, String, String, String, String, String) - Static method in class org.restsql.core.Factory
Creates HTTP request attributes.
getHttpRequestAttributes() - Method in class org.restsql.core.impl.RequestImpl
 
getHttpRequestAttributes() - Method in interface org.restsql.core.Request
Returns http request attributes.
getHttpRequestAttributes(HttpServletRequest, String, String, String) - Static method in class org.restsql.service.HttpRequestHelper
Creates attributes helper object from http request with a request body.
getImplName() - Method in class org.restsql.core.AbstractFactory.FactoryHelper
 
getInstance() - Method in class org.restsql.core.AbstractFactory.FactoryHelper
 
getInstance(String, String) - Static method in class org.restsql.core.AbstractFactory
Returns singleton instance of the interface implementation, creating it on first access in a thread safe way.
getInterfaceName() - Method in class org.restsql.core.AbstractFactory.FactoryHelper
 
getInValues() - Method in class org.restsql.core.RequestValue
Returns the In list values.
getJoin() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getJoin() - Method in interface org.restsql.core.SqlResourceMetaData
 
getJoinList() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getJoinList() - Method in interface org.restsql.core.SqlResourceMetaData
 
getLabel() - Method in class org.restsql.core.sqlresource.DocumentationColumn
Gets the value of the label property.
getLog(String) - Method in class org.restsql.service.LogResource
 
getLogger() - Method in class org.restsql.core.impl.RequestImpl
 
getLogger() - Method in interface org.restsql.core.Request
Returns request logger.
getLogList() - Method in class org.restsql.service.LogResource
 
getMain() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getMaxLength() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the maxLength property.
getMaxValue() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the maxValue property.
getMessage() - Method in exception org.restsql.core.SqlResourceException
 
getMetaData() - Method in class org.restsql.core.impl.SqlResourceImpl
 
getMetaData() - Method in interface org.restsql.core.SqlResource
Returns meta data for SQL resource.
getMetadata() - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Gets the value of the metadata property.
getMetadata(String, HttpServletRequest) - Method in class org.restsql.service.ConfResource
 
getMethod() - Method in interface org.restsql.core.HttpRequestAttributes
Returns HTTP method.
getMethod() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getMethod() - Method in class org.restsql.core.sqlresource.DocumentationRequest
Gets the value of the method property.
getMetricRegistry() - Method in class org.restsql.service.monitoring.MetricsServletContextListener
 
getMetricRegistry() - Method in interface org.restsql.service.monitoring.MonitoringManager
 
getMetricRegistry() - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
 
getMinLength() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the minLength property.
getMinValue() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the minValue property.
getMonitoringManager() - Static method in class org.restsql.service.monitoring.MonitoringFactory
Returns MonitoringManager singleton.
getMonitoringManagerClass() - Static method in class org.restsql.service.monitoring.MonitoringFactory
Returns configured MonitoringManager class name.
getName() - Method in class org.restsql.core.impl.SqlResourceImpl
 
getName() - Method in class org.restsql.core.RequestValue
Returns name.
getName() - Method in class org.restsql.core.ResponseValue
Returns name.
getName() - Method in class org.restsql.core.sqlresource.DocumentationHeader
Gets the value of the name property.
getName() - Method in interface org.restsql.core.SqlResource
Returns SQL resource name.
getName() - Method in class org.restsql.core.sqlresource.Table
Gets the value of the name property.
getName() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the name property.
getNumberTables() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getNumberTables() - Method in interface org.restsql.core.SqlResourceMetaData
 
getOperator() - Method in class org.restsql.core.RequestValue
 
getParameters() - Method in class org.restsql.core.impl.RequestImpl
 
getParameters() - Method in interface org.restsql.core.Request
Returns ordered list of parameters, for example the selection filter for update request.
getParent() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getParent() - Method in class org.restsql.core.impl.RequestImpl
 
getParent() - Method in interface org.restsql.core.Request
Returns parent, if any.
getParent() - Method in interface org.restsql.core.SqlResourceMetaData
 
getParentPlusExtTables() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getParentPlusExtTables() - Method in interface org.restsql.core.SqlResourceMetaData
 
getParentReadColumns() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getParentReadColumns() - Method in interface org.restsql.core.SqlResourceMetaData
 
getPassword() - Method in class org.restsql.core.sqlresource.DocumentationRequest
Gets the value of the password property.
getPreparedClause() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getPreparedMain() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getPreparedStatement() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getPreparedValues() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getPrimaryKeys() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getPrimaryKeys() - Method in interface org.restsql.core.TableMetaData
Returns ordered list of columns that are primary keys.
getPrivileges() - Method in class org.restsql.security.SqlResourceRolePrivileges
 
getProperty(String, String) - Method in class org.restsql.core.Config.ImmutableProperties
 
getQualifiedColumnLabel() - Method in interface org.restsql.core.ColumnMetaData
Returns fully qualified column label in database-specific form for use in SQL statements.
getQualifiedColumnLabel(String, String, boolean, String) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Retrieves label disambiguated for duplication.
getQualifiedColumnLabel() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getQualifiedColumnLabel(String, String, boolean, String) - Method in class org.restsql.core.impl.mysql.MySqlSqlResourceMetaData
Building the qualified column label for disambiguating duplicate labels in SQL statements.
getQualifiedColumnLabel(String, String, boolean, String) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Retrieves qualified column label for disambiguating duplicate labels in SQL statements.
getQualifiedColumnName() - Method in interface org.restsql.core.ColumnMetaData
Returns fully qualified column name in database-specific form for use in SQL statements.
getQualifiedColumnName(String, String, boolean, String) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Returns fully qualified column name in database-specific form for use in SQL statements.
getQualifiedColumnName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getQualifiedTableName() - Method in interface org.restsql.core.ColumnMetaData
Returns fully qualified table name in database-specific form for use in SQL statements.
getQualifiedTableName(Connection, String, String) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Retrieves database-specific table name used in SQL statements.
getQualifiedTableName(SqlResourceDefinition, ResultSetMetaData, int) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Retrieves database-specific table name used in SQL statements.
getQualifiedTableName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getQualifiedTableName(SqlResourceDefinition, ResultSetMetaData, int) - Method in class org.restsql.core.impl.mysql.MySqlSqlResourceMetaData
Retrieves database-specific table name used in SQL statements.
getQualifiedTableName(Connection, String, String) - Method in class org.restsql.core.impl.mysql.MySqlSqlResourceMetaData
Retrieves database-specific table name used in SQL statements.
getQualifiedTableName(SqlResourceDefinition, ResultSetMetaData, int) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Retrieves database-specific table name used in SQL statements.
getQualifiedTableName(Connection, String, String) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Retrieves database-specific table name used in SQL statements.
getQualifiedTableName() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getQualifiedTableName() - Method in interface org.restsql.core.TableMetaData
Returns fully qualified table name in database-specific form for use in SQL statements.
getQuery() - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Gets the value of the query property.
getRegex() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the regex property.
getRequest(Request.Type, String, List<RequestValue>, List<RequestValue>, List<List<RequestValue>>, RequestLogger) - Static method in class org.restsql.core.Factory
Returns request object with pre-parsed data from the URI.
getRequest(HttpRequestAttributes, Request.Type, String, List<RequestValue>, List<RequestValue>, List<List<RequestValue>>, RequestLogger) - Static method in class org.restsql.core.Factory
Returns request object with pre-parsed data from the URI.
getRequest(HttpRequestAttributes) - Static method in class org.restsql.core.Factory
Builds request from URI.
getRequest(HttpRequestAttributes) - Method in interface org.restsql.core.Factory.RequestFactory
 
getRequest(HttpRequestAttributes, Request.Type, String, List<RequestValue>, List<RequestValue>, List<List<RequestValue>>, RequestLogger) - Method in interface org.restsql.core.Factory.RequestFactory
 
getRequest(HttpRequestAttributes) - Method in class org.restsql.core.impl.RequestFactoryImpl
Builds request from URI.
getRequest(HttpRequestAttributes, Request.Type, String, List<RequestValue>, List<RequestValue>, List<List<RequestValue>>, RequestLogger) - Method in class org.restsql.core.impl.RequestFactoryImpl
Returns request object with pre-parsed data from the URI.
getRequest() - Method in class org.restsql.core.sqlresource.DocumentationExample
Gets the value of the request property.
getRequestBody() - Method in interface org.restsql.core.HttpRequestAttributes
Returns request body, if any.
getRequestBody() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getRequestBodyFromFormParams(MultivaluedMap<String, String>) - Static method in class org.restsql.service.HttpRequestHelper
Converts form params into string.
getRequestDeserializer(String) - Static method in class org.restsql.core.Factory
Returns request deserializer.
getRequestDeserializer(String) - Method in interface org.restsql.core.Factory.RequestDeserializerFactory
 
getRequestDeserializer(String) - Method in class org.restsql.core.impl.serial.RequestDeserializerFactoryImpl
Returns request deserializer for media type.
getRequestLogger() - Static method in class org.restsql.core.Factory
Returns request logger.
getRequestMediaType() - Method in interface org.restsql.core.HttpRequestAttributes
Returns request media type.
getRequestMediaType() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getRequestMediaType(String) - Static method in class org.restsql.core.RequestUtil
Returns best match for Content-Type header or the original media type if it doesn't match.
getResIds(SqlResource, String[]) - Static method in class org.restsql.core.RequestUtil
Returns name-value pairs, resourceId and value, for given resource and ordered value array.
getResource() - Method in class org.restsql.core.sqlresource.Documentation
Gets the value of the resource property.
getResourceDefinitionGenerator() - Static method in class org.restsql.tools.ToolsFactory
Returns authorizer singleton.
getResourceIdentifiers() - Method in class org.restsql.core.impl.RequestImpl
 
getResourceIdentifiers() - Method in interface org.restsql.core.Request
Returns ordered list of primary key values for a CRUD request on a single object (row).
getResources(UriInfo) - Method in class org.restsql.service.ConfResource
 
getResources(UriInfo) - Method in class org.restsql.service.ResResource
 
getResponse() - Method in class org.restsql.core.sqlresource.DocumentationExample
Gets the value of the response property.
getResponse() - Method in class org.restsql.core.sqlresource.HttpConfig
Gets the value of the response property.
getResponseMediaType() - Method in interface org.restsql.core.HttpRequestAttributes
Returns response media type.
getResponseMediaType() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getResponseMediaType(List<RequestValue>, String, String) - Static method in class org.restsql.core.RequestUtil
Determines content type from parameters, and removing the output param if present.
getResponseSerializer(String) - Static method in class org.restsql.core.Factory
Returns response serializer for media type.
getResponseSerializer(String) - Method in interface org.restsql.core.Factory.ResponseSerializerFactory
 
getResponseSerializer(String) - Method in class org.restsql.core.impl.serial.ResponseSerializerFactoryImpl
Returns response serializer for media type.
getResultByLabel(ResultSet) - Method in interface org.restsql.core.ColumnMetaData
Returns object from result set using the column label.
getResultByLabel(ResultSet) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getResultByLabel(ResultSet) - Method in class org.restsql.core.impl.mysql.MySqlColumnMetaData
Compensates for the MySQL JDBC driver which returns Date object for YEAR type.
getResultByNumber(ResultSet) - Method in interface org.restsql.core.ColumnMetaData
Returns object from result set using the column number.
getResultByNumber(ResultSet) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getResultByNumber(ResultSet) - Method in class org.restsql.core.impl.mysql.MySqlColumnMetaData
Compensates for the MySQL JDBC driver which returns Date object for YEAR type.
getRole() - Method in class org.restsql.core.sqlresource.Table
Gets the value of the role property.
getRoleName() - Method in class org.restsql.security.SqlResourceRolePrivileges
 
getRowAlias() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getRowAlias() - Method in class org.restsql.core.sqlresource.Table
Gets the value of the rowAlias property.
getRowAlias() - Method in interface org.restsql.core.TableMetaData
Returns row alias.
getRows() - Method in class org.restsql.core.WriteResponse
Returns inserted results, otherwise empty (non-null).
getRowsAffected() - Method in class org.restsql.core.WriteResponse
Returns number of rows affected.
getRowSetAlias() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getRowSetAlias() - Method in class org.restsql.core.sqlresource.Table
Gets the value of the rowSetAlias property.
getRowSetAlias() - Method in interface org.restsql.core.TableMetaData
Returns row set alias.
getSelectLimit() - Method in class org.restsql.core.impl.RequestImpl
 
getSelectLimit() - Method in interface org.restsql.core.Request
Returns select row limit, if any.
getSelectOffset() - Method in class org.restsql.core.impl.RequestImpl
 
getSelectOffset() - Method in interface org.restsql.core.Request
Returns select row offset, if any.
getSequenceManager() - Static method in class org.restsql.core.Factory
Returns singleton SequenceManager.
getSequenceName() - Method in interface org.restsql.core.ColumnMetaData
Returns sequence name associated with column or null if none.
getSequenceName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getSingletons() - Method in class org.restsql.service.RestSqlApplication
 
getSql() - Method in class org.restsql.core.impl.RequestLoggerImpl
Returns list of SQL statements generated during request processing.
getSql() - Method in interface org.restsql.core.RequestLogger
Returns list of SQL statements generated during request processing.
getSql() - Method in exception org.restsql.core.SqlResourceException
 
getSqlBuilder() - Static method in class org.restsql.core.Factory
Returns existing singleton SqlBuilder.
getSqlColumnsQuery() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Retrieves sql for querying columns.
getSqlColumnsQuery() - Method in class org.restsql.core.impl.mysql.MySqlSqlResourceMetaData
Retrieves sql for querying columns.
getSqlColumnsQuery() - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Retrieves sql for querying columns.
getSqlMainQuery(SqlResourceDefinition, SqlBuilder) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Retrieves sql for the main query based on the definition.
getSqlPkQuery() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Retrieves sql for querying primary keys.
getSqlPkQuery() - Method in class org.restsql.core.impl.mysql.MySqlSqlResourceMetaData
Retrieves sql for querying primary keys.
getSqlPkQuery() - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Retrieves sql for querying primary keys.
getSqlResource(String) - Static method in class org.restsql.core.Factory
Returns SQL Resource for named resource.
getSqlResource(String) - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
getSqlResource() - Method in class org.restsql.core.impl.RequestImpl
 
getSqlResource(String) - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
 
getSqlResource() - Method in interface org.restsql.core.Request
Returns SQL Resource name.
getSqlResource() - Method in class org.restsql.security.SqlResourceRolePrivileges
 
getSqlResourceDefinition(String) - Static method in class org.restsql.core.Factory
Returns definition content as input stream.
getSqlResourceDefinition(String) - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
getSqlResourceDefinition(String) - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
 
getSqlResourceMetaData(String, SqlResourceDefinition, SqlBuilder) - Static method in class org.restsql.core.Factory
Returns meta data object for definition.
getSqlResourceNames() - Static method in class org.restsql.core.Factory
Returns available SQL Resource names using configured SqlResourceFactory.
getSqlResourceNames() - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
getSqlResourceNames() - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
Returns available SQL Resource names using the configured directory.
getSqlResourcesDir() - Static method in class org.restsql.core.Factory
Returns SQL resources directory using configured SqlResourceFactory.
getSqlResourcesDir() - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
getSqlResourcesDir() - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
Returns the configured resources directory name.
getStatement() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
getStatus() - Method in class org.restsql.core.sqlresource.DocumentationResponse
Gets the value of the status property.
getSupportedMediaType() - Method in class org.restsql.core.impl.serial.JsonRequestDeserializer
 
getSupportedMediaType() - Method in class org.restsql.core.impl.serial.JsonResponseSerializer
 
getSupportedMediaType() - Method in class org.restsql.core.impl.serial.XmlRequestDeserializer
 
getSupportedMediaType() - Method in class org.restsql.core.impl.serial.XmlResponseSerializer
 
getSupportedMediaType() - Method in interface org.restsql.core.RequestDeserializer
Returns supported media type.
getSupportedMediaType() - Method in interface org.restsql.core.ResponseSerializer
Returns supported media type.
getTable() - Method in class org.restsql.core.sqlresource.MetaData
Gets the value of the table property.
getTable(SqlResourceDefinition, ColumnMetaData) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Returns table object for column, ignoring case.
getTable(SqlResourceDefinition, String) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Returns table object with specified table name, ignoring case.
getTable(SqlResourceDefinition, TableMetaData.TableRole) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Returns table object with desired role.
getTableAlias() - Method in class org.restsql.core.impl.TableMetaDataImpl
Deprecated.
getTableAlias() - Method in interface org.restsql.core.TableMetaData
Deprecated.
getTableExclusionQueryClause() - Method in class org.restsql.tools.impl.AbstractResourceDefinitionGenerator
Returns query clause for a table name exclusion pattern.
getTableList(SqlResourceDefinition, TableMetaData.TableRole) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Returns list of table objects with specified role.
getTableMap() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getTableMap() - Method in interface org.restsql.core.SqlResourceMetaData
 
getTableMetaData() - Static method in class org.restsql.core.Factory
Creates new table meta data object.
getTableName() - Method in interface org.restsql.core.ColumnMetaData
Returns table name.
getTableName() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getTableName() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getTableName() - Method in interface org.restsql.core.TableMetaData
Returns table name.
getTableRole() - Method in interface org.restsql.core.ColumnMetaData
Returns role of table in the SQL Resource.
getTableRole() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
getTableRole() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
getTableRole() - Method in interface org.restsql.core.TableMetaData
Returns role of table in the SQL Resource.
getTables() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
getTables() - Method in interface org.restsql.core.SqlResourceMetaData
 
getTriggers() - Method in class org.restsql.core.impl.SqlResourceImpl
 
getTriggers() - Method in interface org.restsql.core.SqlResource
Returns triggers classes.
getType() - Method in class org.restsql.core.impl.RequestImpl
 
getType() - Method in interface org.restsql.core.Request
Returns request type.
getType() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the type property.
getUri() - Method in interface org.restsql.core.HttpRequestAttributes
Returns URI.
getUri() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
getUri() - Method in class org.restsql.core.sqlresource.DocumentationRequest
Gets the value of the uri property.
getUser() - Method in class org.restsql.core.sqlresource.DocumentationRequest
Gets the value of the user property.
getUserPrincipal() - Method in interface org.restsql.security.SecurityContext
Returns a java.security.Principal object containing the name of the current authenticated user.
getUserPrincipal() - Method in class org.restsql.service.SecurityContextAdapter
 
getValidatedAttribute() - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Gets the value of the validatedAttribute property.
getValidatorClass() - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Gets the value of the validatorClass property.
getValue() - Method in class org.restsql.core.RequestValue
Returns value.
getValue() - Method in class org.restsql.core.ResponseValue
Returns value.
getValue() - Method in class org.restsql.core.sqlresource.DocumentationDescription
Gets the value of the value property.
getValue() - Method in class org.restsql.core.sqlresource.DocumentationHeader
Gets the value of the value property.
getValue() - Method in class org.restsql.core.sqlresource.Query
Gets the value of the value property.
getWadl() - Method in class org.restsql.service.WadlResource
 
getWriteTables(Request.Type, boolean) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Determines the tables to use for write, possibly substituting the parent+, child+ or join table for query tables.
getWriteTables(Request.Type, boolean) - Method in interface org.restsql.core.SqlResourceMetaData
 

H

handleException(HttpServletRequest, String, String, SqlResourceException, RequestLogger) - Static method in class org.restsql.service.HttpRequestHelper
Determines exception type, logs issue and returns appropriate http status with the exception message in the body.
hashCode() - Method in class org.restsql.core.RequestValue
 
hashCode() - Method in class org.restsql.core.ResponseValue
 
hasJoinTable() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
hasJoinTable() - Method in interface org.restsql.core.SqlResourceMetaData
 
hasMultipleDatabases() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
hasMultipleDatabases() - Method in interface org.restsql.core.SqlResourceMetaData
 
hasParameter(String) - Method in class org.restsql.core.impl.RequestImpl
 
hasParameter(String) - Method in interface org.restsql.core.Request
Returns true if request has parameter with the given name.
hasPrivilege(Request.Type) - Method in class org.restsql.security.SqlResourceRolePrivileges
 
header - Variable in class org.restsql.core.sqlresource.DocumentationRequest
 
header - Variable in class org.restsql.core.sqlresource.DocumentationResponse
 
healthCheckRegistry - Variable in class org.restsql.service.monitoring.MonitoringManagerImpl
Define metric and health check registries.
HealthCheckServletContextListener - Class in org.restsql.service.monitoring
Enables Metrics AdminServlet to serve up health check data provided by restSQL service.
HealthCheckServletContextListener() - Constructor for class org.restsql.service.monitoring.HealthCheckServletContextListener
 
http - Variable in class org.restsql.core.sqlresource.SqlResourceDefinition
 
HttpConfig - Class in org.restsql.core.sqlresource
Java class for HttpConfig complex type.
HttpConfig() - Constructor for class org.restsql.core.sqlresource.HttpConfig
 
HttpRequestAttributes - Interface in org.restsql.core
Contains HTTP request attributes.
HttpRequestAttributesImpl - Class in org.restsql.core.impl
Simple http request attributes implementation.
HttpRequestAttributesImpl() - Constructor for class org.restsql.core.impl.HttpRequestAttributesImpl
 
HttpRequestHelper - Class in org.restsql.service
Contains service utilities.
HttpRequestHelper() - Constructor for class org.restsql.service.HttpRequestHelper
 
HttpResponse - Class in org.restsql.core.sqlresource
Java class for HttpResponse complex type.
HttpResponse() - Constructor for class org.restsql.core.sqlresource.HttpResponse
 

I

init(String, SqlResourceDefinition, SqlBuilder) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Populates metadata using definition.
init(String, SqlResourceDefinition, SqlBuilder) - Method in interface org.restsql.core.SqlResourceMetaData
 
init() - Method in interface org.restsql.service.monitoring.MonitoringManager
Initializes metrics.
init() - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
 
initGanglia() - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
Initializes Ganglia Reporter if configured.
initGraphite() - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
Initializes Graphite reporter if configured.
initHealthCheck() - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
Initializes health check.
initJmx() - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
Initializes JMX Reporter if configured.
InvalidRequestException - Exception in org.restsql.core
Exception is thrown when a request does not meet expectations.
InvalidRequestException(String) - Constructor for exception org.restsql.core.InvalidRequestException
Creates exception with the provided message.
InvalidRequestException(String, Object...) - Constructor for exception org.restsql.core.InvalidRequestException
Creates exception with a formatted message and arguments.
InvalidRequestException(Throwable) - Constructor for exception org.restsql.core.InvalidRequestException
Creates exception from a throwable.
isAuthorizationEnabled() - Method in interface org.restsql.security.Authorizer
Returns true if authorization is enabled.
isAuthorizationEnabled() - Method in class org.restsql.security.impl.AuthorizerImpl
Returns true if authorization is enabled.
isAuthorized(SecurityContext, Request) - Method in interface org.restsql.security.Authorizer
Checks if user is assigned a role that may perform the request.
isAuthorized(SecurityContext, Request.Type, String) - Method in interface org.restsql.security.Authorizer
Checks if user is assigned a role that may perform the request.
isAuthorized(SecurityContext, Request) - Method in class org.restsql.security.impl.AuthorizerImpl
 
isAuthorized(SecurityContext, Request.Type, String) - Method in class org.restsql.security.impl.AuthorizerImpl
Returns true if user is authorized (or authorization is disabled), false otherwise.
isBinaryType() - Method in interface org.restsql.core.ColumnMetaData
Returns true if type is BINARY, BLOB, JAVA OBJECT or LONGVARBINARY.
isBinaryType() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isCharOrDateTimeType() - Method in interface org.restsql.core.ColumnMetaData
Returns true if column is a character string or date, time or timestamp.
isCharOrDateTimeType() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isChild() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
isChild() - Method in interface org.restsql.core.TableMetaData
Returns true if the SQL Resource role is child.
isClauseEmpty() - Method in class org.restsql.core.SqlBuilder.SqlStruct
 
isColumnReadOnly(ResultSetMetaData, int) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Return whether a column in the given result set is read-only.
isColumnReadOnly(ResultSetMetaData, int) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Return whether a column in the given result set is read-only.
isDbMetaDataUpperCase() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Returns true if db metadata, e.g.
isHierarchical() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
 
isHierarchical() - Method in interface org.restsql.core.SqlResourceMetaData
 
isNonqueriedForeignKey() - Method in interface org.restsql.core.ColumnMetaData
Returns true for foreign key columns not declared in the SQL Resource query but added by the framework.
isNonqueriedForeignKey() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isParent() - Method in class org.restsql.core.impl.TableMetaDataImpl
 
isParent() - Method in interface org.restsql.core.TableMetaData
Returns true if the SQL Resource role is parent.
isPrimaryKey() - Method in interface org.restsql.core.ColumnMetaData
Returns true if the column is a primary key.
isPrimaryKey() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isReadOnly() - Method in interface org.restsql.core.ColumnMetaData
Returns true if the column is read-only, for example derived from SQL function or a database view.
isReadOnly() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isSequence() - Method in interface org.restsql.core.ColumnMetaData
Returns true if column is associated with a sequence.
isSequence() - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
isSqlResourceLoaded(String) - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
Returns true if the resource has been loaded, i.e.
isStringBase64(String) - Static method in class org.restsql.core.BinaryObject
Returns true if string is base64 encoded.
isUserInRole(String) - Method in interface org.restsql.security.SecurityContext
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
isUserInRole(String) - Method in class org.restsql.service.SecurityContextAdapter
 

J

JsonRequestDeserializer - Class in org.restsql.core.impl.serial
Processes requests represented in a JSON string.
JsonRequestDeserializer() - Constructor for class org.restsql.core.impl.serial.JsonRequestDeserializer
 
JsonResponseSerializer - Class in org.restsql.core.impl.serial
Converts read/write results to a JSON string.
JsonResponseSerializer() - Constructor for class org.restsql.core.impl.serial.JsonResponseSerializer
 
JsonUtil - Class in org.restsql.core.impl.serial
Contains JSON processing utilities.
JsonUtil() - Constructor for class org.restsql.core.impl.serial.JsonUtil
 

K

KEY_AUTHORIZER - Static variable in class org.restsql.core.Config
 
KEY_COLUMN_METADATA - Static variable in class org.restsql.core.Config
 
KEY_CONNECTION_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_DATABASE_DRIVER_CLASSNAME - Static variable in class org.restsql.core.Config
 
KEY_DATABASE_PASSWORD - Static variable in class org.restsql.core.Config
 
KEY_DATABASE_URL - Static variable in class org.restsql.core.Config
 
KEY_DATABASE_USER - Static variable in class org.restsql.core.Config
 
KEY_HTTP_CACHE_CONTROL - Static variable in class org.restsql.core.Config
 
KEY_HTTP_REQUEST_ATTRIBUTES - Static variable in class org.restsql.core.Config
 
KEY_JAVA_LOGGING_CONFIG - Static variable in class org.restsql.core.Config
 
KEY_LOG4J_CONFIG - Static variable in class org.restsql.core.Config
 
KEY_LOGGING_CONFIG - Static variable in class org.restsql.core.Config
 
KEY_LOGGING_DIR - Static variable in class org.restsql.core.Config
 
KEY_LOGGING_FACILITY - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_GANGLIA_FREQUENCY - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_GANGLIA_HOST - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_GANGLIA_PORT - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_GANGLIA_TTL - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_GANGLIA_UDP_MODE - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_GRAPHITE_FREQUENCY - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_GRAPHITE_HOST - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_GRAPHITE_PORT - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_GRAPHITE_PREFIX - Static variable in class org.restsql.core.Config
 
KEY_MONITORING_MANAGER - Static variable in class org.restsql.core.Config
 
KEY_REQUEST_DESERIALIZER_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_REQUEST_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_REQUEST_LOGGER - Static variable in class org.restsql.core.Config
 
KEY_REQUEST_USE_XML_SCHEMA - Static variable in class org.restsql.core.Config
 
KEY_RESOURCE_DEFINTION_GENERATOR - Static variable in class org.restsql.core.Config
 
KEY_RESPONSE_SERIALIZER_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_RESPONSE_USE_XML_DIRECTIVE - Static variable in class org.restsql.core.Config
 
KEY_RESPONSE_USE_XML_SCHEMA - Static variable in class org.restsql.core.Config
 
KEY_RESTSQL_PROPERTIES - Static variable in class org.restsql.core.Config
 
KEY_SECURITY_PRIVILEGES - Static variable in class org.restsql.core.Config
 
KEY_SEQUENCE_MANAGER - Static variable in class org.restsql.core.Config
 
KEY_SQL_BUILDER - Static variable in class org.restsql.core.Config
 
KEY_SQL_RESOURCE_FACTORY - Static variable in class org.restsql.core.Config
 
KEY_SQL_RESOURCE_METADATA - Static variable in class org.restsql.core.Config
 
KEY_SQLRESOURCES_DIR - Static variable in class org.restsql.core.Config
 
KEY_STARTUP_LOGGING_CONSOLE_ENABLED - Static variable in class org.restsql.core.Config
 
KEY_TABLE_METADATA - Static variable in class org.restsql.core.Config
 
KEY_TRIGGERS_CLASSPATH - Static variable in class org.restsql.core.Config
 
KEY_TRIGGERS_DEFINITION - Static variable in class org.restsql.core.Config
 
KEY_WRITE_RESPONSE - Static variable in class org.restsql.core.Config
 

L

label - Variable in class org.restsql.core.sqlresource.DocumentationColumn
 
LifecycleListener - Class in org.restsql.service
Loads properties file from servlet context (web.xml), or attempts to load from the system property and failing that loads from the default.
LifecycleListener() - Constructor for class org.restsql.service.LifecycleListener
 
loadAllProperties() - Static method in class org.restsql.core.Config
Loads all properties.
log(int) - Method in class org.restsql.core.impl.RequestLoggerImpl
Logs exceptional response without an exception.
log(int, Exception) - Method in class org.restsql.core.impl.RequestLoggerImpl
Logs exceptional response with an exception.
log(String) - Method in class org.restsql.core.impl.RequestLoggerImpl
Logs normal response.
log(int) - Method in interface org.restsql.core.RequestLogger
Logs exceptional response without an exception.
log(int, Exception) - Method in interface org.restsql.core.RequestLogger
Logs exceptional response with an exception.
log(String) - Method in interface org.restsql.core.RequestLogger
Logs normal response.
logger - Static variable in class org.restsql.core.Config
The internal logger, for software troubleshooting
loggingProperties - Static variable in class org.restsql.core.Config
Read-only version of configuration settings for other classes
LogResource - Class in org.restsql.service
Provides access to logs.
LogResource() - Constructor for class org.restsql.service.LogResource
 

M

maxLength - Variable in class org.restsql.core.sqlresource.ValidatedAttribute
 
maxValue - Variable in class org.restsql.core.sqlresource.ValidatedAttribute
 
MediaTypeParser - Class in org.restsql.core.impl
MIME-Type Parser This class provides basic functions for handling mime-types.
MediaTypeParser.FitnessAndQuality - Class in org.restsql.core.impl
Structure for holding a fitness/quality combo
MediaTypeParser.FitnessAndQuality(int, float) - Constructor for class org.restsql.core.impl.MediaTypeParser.FitnessAndQuality
 
MediaTypeParser.ParseResults - Class in org.restsql.core.impl
Parse results container
MediaTypeParser.ParseResults() - Constructor for class org.restsql.core.impl.MediaTypeParser.ParseResults
 
MESSAGE_CANNOT_BASE64DECODE - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSAGE_INVALID_PARAMS - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSAGE_LIMIT_REQUIRED - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSAGE_OFFSET_REQUIRED - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSAGE_READONLY_PARAM - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSAGE_SQLRESOURCE_REQUIRED - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSSAGE_INSERT_MISSING_PARAMS - Static variable in exception org.restsql.core.InvalidRequestException
 
MESSSAGE_UPDATE_MISSING_PARAMS - Static variable in exception org.restsql.core.InvalidRequestException
 
MetaData - Class in org.restsql.core.sqlresource
Java class for MetaData complex type.
MetaData() - Constructor for class org.restsql.core.sqlresource.MetaData
 
metadata - Variable in class org.restsql.core.sqlresource.SqlResourceDefinition
 
method - Variable in class org.restsql.core.sqlresource.DocumentationRequest
 
metricRegistry - Variable in class org.restsql.service.monitoring.MonitoringManagerImpl
 
MetricsServletContextListener - Class in org.restsql.service.monitoring
Enables Metrics AdminServlet to serve up metrics collected by restSQL service.
MetricsServletContextListener() - Constructor for class org.restsql.service.monitoring.MetricsServletContextListener
 
minLength - Variable in class org.restsql.core.sqlresource.ValidatedAttribute
 
minValue - Variable in class org.restsql.core.sqlresource.ValidatedAttribute
 
MonitoringFactory - Class in org.restsql.service.monitoring
Constructs monitoring implementations.
MonitoringFactory() - Constructor for class org.restsql.service.monitoring.MonitoringFactory
 
MonitoringManager - Interface in org.restsql.service.monitoring
Manages performance and health monitoring.
MonitoringManagerImpl - Class in org.restsql.service.monitoring
Initializes performance and health monitoring.
MonitoringManagerImpl() - Constructor for class org.restsql.service.monitoring.MonitoringManagerImpl
 
MySqlColumnMetaData - Class in org.restsql.core.impl.mysql
MySQL specific implementation.
MySqlColumnMetaData() - Constructor for class org.restsql.core.impl.mysql.MySqlColumnMetaData
 
MySqlResourceDefinitionGenerator - Class in org.restsql.tools.impl.mysql
Provides MySQL specific columns query.
MySqlResourceDefinitionGenerator() - Constructor for class org.restsql.tools.impl.mysql.MySqlResourceDefinitionGenerator
 
MySqlSequenceManager - Class in org.restsql.core.impl.mysql
Sequence utilities for MySQL.
MySqlSequenceManager() - Constructor for class org.restsql.core.impl.mysql.MySqlSequenceManager
 
MySqlSqlBuilder - Class in org.restsql.core.impl.mysql
Adds limit clause.
MySqlSqlBuilder() - Constructor for class org.restsql.core.impl.mysql.MySqlSqlBuilder
 
MySqlSqlResourceMetaData - Class in org.restsql.core.impl.mysql
Implements SqlResourceMetaData for MySQL.
MySqlSqlResourceMetaData() - Constructor for class org.restsql.core.impl.mysql.MySqlSqlResourceMetaData
 

N

name - Variable in class org.restsql.core.sqlresource.DocumentationHeader
 
name - Variable in class org.restsql.core.sqlresource.Table
 
name - Variable in class org.restsql.core.sqlresource.ValidatedAttribute
 
NAME_LOGGER_ACCESS - Static variable in class org.restsql.core.Config
 
NAME_LOGGER_ERROR - Static variable in class org.restsql.core.Config
 
NAME_LOGGER_INTERNAL - Static variable in class org.restsql.core.Config
 
NAME_LOGGER_TRACE - Static variable in class org.restsql.core.Config
 
newCounter(Class, String) - Method in interface org.restsql.service.monitoring.MonitoringManager
Creates new counter.
newCounter(Class, String) - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
 
newInstance() - Method in class org.restsql.core.AbstractFactory.FactoryHelper
 
newInstance(String, String) - Static method in class org.restsql.core.AbstractFactory
Returns new instance of the interface implementation.
newTimer(Class, String) - Method in interface org.restsql.service.monitoring.MonitoringManager
Creates new timer.
newTimer(Class, String) - Method in class org.restsql.service.monitoring.MonitoringManagerImpl
 
normalizeValue(RequestValue) - Method in interface org.restsql.core.ColumnMetaData
Converts String value to a numeric Object, Date or UUDecode String into Object if required using the column metadata.
normalizeValue(RequestValue) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 

O

ObjectFactory - Class in org.restsql.core.sqlresource
This object contains factory methods for each Java content interface and Java element interface generated in the org.restsql.core.sqlresource package.
ObjectFactory() - Constructor for class org.restsql.core.sqlresource.ObjectFactory
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.restsql.core.sqlresource
org.restsql.core - package org.restsql.core
Contains core framework interfaces, an API for deployments that use restSQL as a library, rather than an HTTP service.
org.restsql.core.impl - package org.restsql.core.impl
Contains core framework implementation.
org.restsql.core.impl.mysql - package org.restsql.core.impl.mysql
 
org.restsql.core.impl.postgresql - package org.restsql.core.impl.postgresql
 
org.restsql.core.impl.serial - package org.restsql.core.impl.serial
 
org.restsql.core.sqlresource - package org.restsql.core.sqlresource
Contains classes that model the SQL Resource definition XML document.
org.restsql.security - package org.restsql.security
Contains classes that provide security, such as authorization.
org.restsql.security.impl - package org.restsql.security.impl
Contains security implementations.
org.restsql.service - package org.restsql.service
Contains HTTP interface classes.
org.restsql.service.monitoring - package org.restsql.service.monitoring
Contains performance and health monitoring classes.
org.restsql.tools - package org.restsql.tools
 
org.restsql.tools.impl - package org.restsql.tools.impl
 
org.restsql.tools.impl.mysql - package org.restsql.tools.impl.mysql
 
org.restsql.tools.impl.postgresql - package org.restsql.tools.impl.postgresql
 

P

PARAM_NAME_LIMIT - Static variable in interface org.restsql.core.Request
 
PARAM_NAME_OFFSET - Static variable in interface org.restsql.core.Request
 
PARAM_NAME_OUTPUT - Static variable in interface org.restsql.core.Request
 
parseInValues(Object) - Static method in class org.restsql.core.RequestValue
Parses list of comma separated values from a string.
parseMediaRange(String) - Static method in class org.restsql.core.impl.MediaTypeParser
Carves up a media range and returns a ParseResults.
parseMimeType(String) - Static method in class org.restsql.core.impl.MediaTypeParser
Carves up a mime-type and returns a ParseResults object For example, the media range 'application/xhtml;q=0.5' would get parsed into: ('application', 'xhtml', {'q', '0.5'})
parseOperatorFromValue(Object) - Static method in class org.restsql.core.RequestValue
Parses operator from beginning of value (<, <=, > or >=) or enclosing brackets for the In operator.
password - Variable in class org.restsql.core.sqlresource.DocumentationRequest
 
post(String, MultivaluedMap<String, String>, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
post(String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
post(String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
post(String, String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
post(String, UriInfo, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
PostgreSqlResourceDefinitionGenerator - Class in org.restsql.tools.impl.postgresql
Provides PostgreSQL specific columns query.
PostgreSqlResourceDefinitionGenerator() - Constructor for class org.restsql.tools.impl.postgresql.PostgreSqlResourceDefinitionGenerator
 
PostgreSqlSequenceManager - Class in org.restsql.core.impl.postgresql
Sequence utilities for PostgreSQL.
PostgreSqlSequenceManager() - Constructor for class org.restsql.core.impl.postgresql.PostgreSqlSequenceManager
 
PostgreSqlSqlBuilder - Class in org.restsql.core.impl.postgresql
Adds limit clause and special handling for type casting parameters in prepared statements (apparently only needed for IN operator).
PostgreSqlSqlBuilder() - Constructor for class org.restsql.core.impl.postgresql.PostgreSqlSqlBuilder
 
PostgreSqlSqlResourceMetaData - Class in org.restsql.core.impl.postgresql
Implements SqlResourceMetaData for PostgreSQL.
PostgreSqlSqlResourceMetaData() - Constructor for class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
 
properties - Static variable in class org.restsql.core.Config
Read-only version of configuration settings for other classes
put(String, MultivaluedMap<String, String>, UriInfo, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, MultivaluedMap<String, String>, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, String, MultivaluedMap<String, String>, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, String, String, String, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 
put(String, UriInfo, String, String, String, HttpServletRequest, SecurityContext) - Method in class org.restsql.service.ResResource
 

Q

quality(String, String) - Static method in class org.restsql.core.impl.MediaTypeParser
Returns the quality 'q' of a mime-type when compared against the mediaRanges in ranges.
qualityParsed(String, Collection<MediaTypeParser.ParseResults>) - Static method in class org.restsql.core.impl.MediaTypeParser
Find the best match for a given mime-type against a list of ranges that have already been parsed by parseMediaRange().
Query - Class in org.restsql.core.sqlresource
Java class for Query complex type.
Query() - Constructor for class org.restsql.core.sqlresource.Query
 
query - Variable in class org.restsql.core.sqlresource.SqlResourceDefinition
 
quote(String) - Static method in class org.restsql.core.impl.serial.JsonUtil
Produce a string in double quotes with backslash sequences in all the right places.

R

read(Request) - Method in class org.restsql.core.impl.SqlResourceImpl
Executes query returning results as an object collection.
read(Request, String) - Method in class org.restsql.core.impl.SqlResourceImpl
Executes query returning results as a string.
read(Request) - Method in interface org.restsql.core.SqlResource
Executes query returning results as an object collection.
read(Request, String) - Method in interface org.restsql.core.SqlResource
Executes query returning results as a string.
regex - Variable in class org.restsql.core.sqlresource.ValidatedAttribute
 
reloadDefinition(String, HttpServletRequest) - Method in class org.restsql.service.ConfResource
 
reloadSqlResource(String) - Static method in class org.restsql.core.Factory
Reloads definition from the source using configured SqlResourceFactory.
reloadSqlResource(String) - Method in interface org.restsql.core.Factory.SqlResourceFactory
 
reloadSqlResource(String) - Method in class org.restsql.core.impl.SqlResourceFactoryImpl
Reloads definition using the current file.
removeWhitespaceFromSql(String) - Static method in class org.restsql.core.impl.SqlResourceImpl
 
Request - Interface in org.restsql.core
Represents a single CRUD request on a specific SQL Resource.
request - Variable in class org.restsql.core.sqlresource.DocumentationExample
 
Request.Type - Enum in org.restsql.core
Represents request types, mapping to CRUD operations.
RequestDeserializer - Interface in org.restsql.core
Processes requests represented in some string form, e.g.
RequestDeserializerFactoryImpl - Class in org.restsql.core.impl.serial
Implements factory using default org.restsql.core.impl request deserializers.
RequestDeserializerFactoryImpl() - Constructor for class org.restsql.core.impl.serial.RequestDeserializerFactoryImpl
 
RequestFactoryImpl - Class in org.restsql.core.impl
Creates requests.
RequestFactoryImpl() - Constructor for class org.restsql.core.impl.RequestFactoryImpl
 
RequestImpl - Class in org.restsql.core.impl
Represents a restSQL request.
RequestImpl(HttpRequestAttributes, Request.Type, String, List<RequestValue>, List<RequestValue>, List<List<RequestValue>>, RequestLogger) - Constructor for class org.restsql.core.impl.RequestImpl
Constructs object.
RequestLogger - Interface in org.restsql.core
Logs request for troubleshooting applications.
RequestLoggerImpl - Class in org.restsql.core.impl
Logs request for troubleshooting applications.
RequestLoggerImpl() - Constructor for class org.restsql.core.impl.RequestLoggerImpl
 
RequestUtil - Class in org.restsql.core
Contains utility methods to assist request processing.
RequestUtil() - Constructor for class org.restsql.core.RequestUtil
 
RequestValue - Class in org.restsql.core
Encapsulates name and value for collections of request identifiers and parameters.
RequestValue(String, Object) - Constructor for class org.restsql.core.RequestValue
Creates object, parsing value for comparison operator.
RequestValue(String, Object, RequestValue.Operator) - Constructor for class org.restsql.core.RequestValue
Creates object with equals operator.
RequestValue.Operator - Enum in org.restsql.core
Represents all operations for parameters.
resource - Variable in class org.restsql.core.sqlresource.Documentation
 
ResourceDefinitionGenerator - Interface in org.restsql.tools
Creates resource definition files, one per table found in the specified database, to the specified subdirectory.
ResourceDefinitionGenerator.GenerationException - Exception in org.restsql.tools
Represents generation exception.
ResourceDefinitionGenerator.GenerationException(String) - Constructor for exception org.restsql.tools.ResourceDefinitionGenerator.GenerationException
Constructs exception.
response - Variable in class org.restsql.core.sqlresource.DocumentationExample
 
response - Variable in class org.restsql.core.sqlresource.HttpConfig
 
ResponseSerializer - Interface in org.restsql.core
Converts read/write results to a string, e.g.
ResponseSerializerFactoryImpl - Class in org.restsql.core.impl.serial
Implements factory using default org.restsql.core.impl response serializers.
ResponseSerializerFactoryImpl() - Constructor for class org.restsql.core.impl.serial.ResponseSerializerFactoryImpl
 
ResponseValue - Class in org.restsql.core
Represents a response column name, value and column number, which may be placed into a set ordered by column number.
ResponseValue(String, Object, int) - Constructor for class org.restsql.core.ResponseValue
 
ResResource - Class in org.restsql.service
Contains core JAX-RS Resource of the service, processing SQL Resource CRUD requests.
ResResource() - Constructor for class org.restsql.service.ResResource
 
RestSqlApplication - Class in org.restsql.service
Identifies JAX-RS resources through code, since the declarative Jersey scanner does not work with JBoss AS.
RestSqlApplication() - Constructor for class org.restsql.service.RestSqlApplication
Initializes metrics.
role - Variable in class org.restsql.core.sqlresource.Table
 
rowAlias - Variable in class org.restsql.core.sqlresource.Table
 
rowSetAlias - Variable in class org.restsql.core.sqlresource.Table
 

S

SecurityContext - Interface in org.restsql.security
Provides user principal and role check method.
SecurityContextAdapter - Class in org.restsql.service
Adapts JAX-RS's SecurityContext to restSQL's SecurityContext .
SecurityContextAdapter(SecurityContext) - Constructor for class org.restsql.service.SecurityContextAdapter
 
SecurityFactory - Class in org.restsql.security
Constructs security implementations.
SecurityFactory() - Constructor for class org.restsql.security.SecurityFactory
 
SequenceManager - Interface in org.restsql.core
Contains functions to manage sequences.
serializeReadFlat(SqlResource, ResultSet) - Method in class org.restsql.core.impl.serial.JsonResponseSerializer
Converts flat select results to a JSON array.
serializeReadFlat(SqlResource, ResultSet) - Method in class org.restsql.core.impl.serial.XmlResponseSerializer
Converts flat select results to an XML document.
serializeReadFlat(SqlResource, ResultSet) - Method in interface org.restsql.core.ResponseSerializer
Converts flat select results to a string.
serializeReadHierarchical(SqlResource, List<Map<String, Object>>) - Method in class org.restsql.core.impl.serial.JsonResponseSerializer
Converts hierarchical select results to a JSON array.
serializeReadHierarchical(SqlResource, List<Map<String, Object>>) - Method in class org.restsql.core.impl.serial.XmlResponseSerializer
Converts hierarchical select results to an XML document.
serializeReadHierarchical(SqlResource, List<Map<String, Object>>) - Method in interface org.restsql.core.ResponseSerializer
Converts hierarchical select results to a string.
serializeWrite(SqlResource, WriteResponse) - Method in class org.restsql.core.impl.serial.JsonResponseSerializer
Converts write results to a JSON object.
serializeWrite(SqlResource, WriteResponse) - Method in class org.restsql.core.impl.serial.XmlResponseSerializer
Converts write results to an XML document.
serializeWrite(SqlResource, WriteResponse) - Method in interface org.restsql.core.ResponseSerializer
Converts write response to a string.
setAccept(String) - Method in class org.restsql.core.sqlresource.DocumentationRequest
Sets the value of the accept property.
setAlias(String) - Method in class org.restsql.core.sqlresource.Table
Sets the value of the alias property.
setAliases(String, String, String) - Method in class org.restsql.core.impl.TableMetaDataImpl
 
setAliases(String, String, String) - Method in interface org.restsql.core.TableMetaData
Sets all the row and row set aliases.
setAttributes(int, String, String, String, String, String, String, String, String, int, boolean) - Method in interface org.restsql.core.ColumnMetaData
Used for all columns declared in the SqlResource select clause.
setAttributes(String, String, String, TableMetaData.TableRole, String, String, String, String, String) - Method in interface org.restsql.core.ColumnMetaData
Used for foreign key columns not declared in the SqlResource select columns.
setAttributes(String, String, String, String, String, String) - Method in interface org.restsql.core.HttpRequestAttributes
Sets attributes of an HTTP request.
setAttributes(int, String, String, String, String, String, String, String, String, int, boolean) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
Used for all columns declared in the SqlResource select clause.
setAttributes(String, String, String, TableMetaData.TableRole, String, String, String, String, String) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
Used for foreign key columns not declared in the SqlResource select columns.
setAttributes(String, String, String, String, String, String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setAttributes(String, String, String, TableMetaData.TableRole) - Method in class org.restsql.core.impl.TableMetaDataImpl
 
setAttributes(String, String, String, TableMetaData.TableRole) - Method in interface org.restsql.core.TableMetaData
Sets attributes.
setBody(String) - Method in class org.restsql.core.sqlresource.DocumentationRequest
Sets the value of the body property.
setBody(String) - Method in class org.restsql.core.sqlresource.DocumentationResponse
Sets the value of the body property.
setCacheControl(String) - Method in class org.restsql.core.sqlresource.HttpResponse
Sets the value of the cacheControl property.
setClient(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setColumns(DocumentationColumns) - Method in class org.restsql.core.sqlresource.Documentation
Sets the value of the columns property.
setContentType(String) - Method in class org.restsql.core.sqlresource.DocumentationRequest
Sets the value of the contentType property.
setDatabase(Database) - Method in class org.restsql.core.sqlresource.MetaData
Sets the value of the database property.
setDefault(String) - Method in class org.restsql.core.sqlresource.Database
Sets the value of the default property.
setDescription(DocumentationDescription) - Method in class org.restsql.core.sqlresource.DocumentationColumn
Sets the value of the description property.
setDescription(DocumentationDescription) - Method in class org.restsql.core.sqlresource.DocumentationResource
Sets the value of the description property.
setDocumentation(Documentation) - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Sets the value of the documentation property.
setExamples(DocumentationExamples) - Method in class org.restsql.core.sqlresource.Documentation
Sets the value of the examples property.
setHttp(HttpConfig) - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Sets the value of the http property.
setHttpRequestAttributes(HttpRequestAttributes) - Method in class org.restsql.core.impl.RequestLoggerImpl
Sets attributes of an HTTP request.
setHttpRequestAttributes(HttpRequestAttributes) - Method in interface org.restsql.core.RequestLogger
Sets attributes of an HTTP request.
setLabel(String) - Method in class org.restsql.core.sqlresource.DocumentationColumn
Sets the value of the label property.
setMaxLength(Integer) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the maxLength property.
setMaxValue(Double) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the maxValue property.
setMetadata(MetaData) - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Sets the value of the metadata property.
setMethod(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setMethod(String) - Method in class org.restsql.core.sqlresource.DocumentationRequest
Sets the value of the method property.
setMinLength(Integer) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the minLength property.
setMinValue(Double) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the minValue property.
setName(String) - Method in class org.restsql.core.sqlresource.DocumentationHeader
Sets the value of the name property.
setName(String) - Method in class org.restsql.core.sqlresource.Table
Sets the value of the name property.
setName(String) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the name property.
setNextValue(Connection, String, String, int, boolean) - Method in class org.restsql.core.impl.mysql.MySqlSequenceManager
 
setNextValue(Connection, String, String, int, boolean) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSequenceManager
 
setNextValue(Connection, String, String, int, boolean) - Method in interface org.restsql.core.SequenceManager
Resets sequence to desired value.
setParameters(List<RequestValue>) - Method in class org.restsql.core.impl.RequestImpl
Sets parameters for request.
setParameters(List<RequestValue>) - Method in interface org.restsql.core.Request
Sets parameters for request.
setParent(Request) - Method in class org.restsql.core.impl.RequestImpl
 
setParent(Request) - Method in interface org.restsql.core.Request
Sets parent request.
setPassword(String) - Method in class org.restsql.core.sqlresource.DocumentationRequest
Sets the value of the password property.
setPrimaryKey(boolean) - Method in interface org.restsql.core.ColumnMetaData
Sets primary key.
setPrimaryKey(boolean) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
setQuery(Query) - Method in class org.restsql.core.sqlresource.SqlResourceDefinition
Sets the value of the query property.
setRegex(String) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the regex property.
setRequest(Request) - Method in class org.restsql.core.impl.RequestLoggerImpl
Sets request.
setRequest(Request) - Method in interface org.restsql.core.RequestLogger
Sets request.
setRequest(DocumentationRequest) - Method in class org.restsql.core.sqlresource.DocumentationExample
Sets the value of the request property.
setRequestBody(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setRequestMediaType(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setResource(DocumentationResource) - Method in class org.restsql.core.sqlresource.Documentation
Sets the value of the resource property.
setResponse(DocumentationResponse) - Method in class org.restsql.core.sqlresource.DocumentationExample
Sets the value of the response property.
setResponse(HttpResponse) - Method in class org.restsql.core.sqlresource.HttpConfig
Sets the value of the response property.
setResponseMediaType(String) - Method in interface org.restsql.core.HttpRequestAttributes
Sets response media type.
setResponseMediaType(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setRole(String) - Method in class org.restsql.core.sqlresource.Table
Sets the value of the role property.
setRowAlias(String) - Method in class org.restsql.core.sqlresource.Table
Sets the value of the rowAlias property.
setRowSetAlias(String) - Method in class org.restsql.core.sqlresource.Table
Sets the value of the rowSetAlias property.
setSelectLimit(Integer) - Method in class org.restsql.core.impl.RequestImpl
 
setSelectLimit(Integer) - Method in interface org.restsql.core.Request
Sets select limit.
setSelectOffset(Integer) - Method in class org.restsql.core.impl.RequestImpl
 
setSelectOffset(Integer) - Method in interface org.restsql.core.Request
Sets select offset.
setSequence(boolean) - Method in interface org.restsql.core.ColumnMetaData
Sets true if column populated with a sequence function (auto increment).
setSequence(boolean) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
setSequenceMetaData(ColumnMetaDataImpl, ResultSet) - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Sets sequence metadata for a column with the columns query result set.
setSequenceMetaData(ColumnMetaDataImpl, ResultSet) - Method in class org.restsql.core.impl.mysql.MySqlSqlResourceMetaData
Sets sequence metadata for a column with the columns query result set.
setSequenceMetaData(ColumnMetaDataImpl, ResultSet) - Method in class org.restsql.core.impl.postgresql.PostgreSqlSqlResourceMetaData
Sets sequence metadata for a column with the columns query result set.
setSequenceName(String) - Method in interface org.restsql.core.ColumnMetaData
Sets sequence name.
setSequenceName(String) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
setStatus(Integer) - Method in class org.restsql.core.sqlresource.DocumentationResponse
Sets the value of the status property.
setTableAlias(String) - Method in class org.restsql.core.impl.TableMetaDataImpl
setTableAlias(String) - Method in interface org.restsql.core.TableMetaData
setTableRole(TableMetaData.TableRole) - Method in interface org.restsql.core.ColumnMetaData
Sets table role.
setTableRole(TableMetaData.TableRole) - Method in class org.restsql.core.impl.ColumnMetaDataImpl
 
setType(String) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the type property.
setUri(String) - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
setUri(String) - Method in class org.restsql.core.sqlresource.DocumentationRequest
Sets the value of the uri property.
setUser(String) - Method in class org.restsql.core.sqlresource.DocumentationRequest
Sets the value of the user property.
setUseXmlDirective(boolean) - Static method in class org.restsql.core.impl.serial.XmlResponseSerializer
Overrides configuration.
setUseXmlSchema(boolean) - Static method in class org.restsql.core.impl.serial.XmlResponseSerializer
Overrides configuration.
setValidatorClass(String) - Method in class org.restsql.core.sqlresource.ValidatedAttribute
Sets the value of the validatorClass property.
setValue(Object) - Method in class org.restsql.core.RequestValue
Sets value.
setValue(String) - Method in class org.restsql.core.sqlresource.DocumentationDescription
Sets the value of the value property.
setValue(String) - Method in class org.restsql.core.sqlresource.DocumentationHeader
Sets the value of the value property.
setValue(String) - Method in class org.restsql.core.sqlresource.Query
Sets the value of the value property.
SqlBuilder - Interface in org.restsql.core
Builds SQL for an operation on a SQL Resource.
SqlBuilder.SqlStruct - Class in org.restsql.core
Helper struct for building SQL.
SqlBuilder.SqlStruct(int, int) - Constructor for class org.restsql.core.SqlBuilder.SqlStruct
 
SqlBuilder.SqlStruct(int, int, boolean) - Constructor for class org.restsql.core.SqlBuilder.SqlStruct
 
SqlResource - Interface in org.restsql.core
Represents an SQL Resource, a queryable and updatable database "view".
SqlResourceDefinition - Class in org.restsql.core.sqlresource
Java class for SqlResource complex type.
SqlResourceDefinition() - Constructor for class org.restsql.core.sqlresource.SqlResourceDefinition
 
SqlResourceDefinitionUtils - Class in org.restsql.core.sqlresource
Contains utilities to process definitions.
SqlResourceDefinitionUtils() - Constructor for class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
 
SqlResourceException - Exception in org.restsql.core
Represents a restSQL error, typically wrapping an SQLException and adding an SQL String.
SqlResourceException(String) - Constructor for exception org.restsql.core.SqlResourceException
 
SqlResourceException(Throwable) - Constructor for exception org.restsql.core.SqlResourceException
 
SqlResourceException(Throwable, String) - Constructor for exception org.restsql.core.SqlResourceException
 
SqlResourceException(String, String) - Constructor for exception org.restsql.core.SqlResourceException
 
SqlResourceFactoryImpl - Class in org.restsql.core.impl
Manages SQL Resource construction.
SqlResourceFactoryImpl() - Constructor for class org.restsql.core.impl.SqlResourceFactoryImpl
 
SqlResourceImpl - Class in org.restsql.core.impl
Represents a SQL Resource, a queryable and updatable database "view".
SqlResourceImpl(String, SqlResourceDefinition, SqlResourceMetaData, SqlBuilder, List<Trigger>) - Constructor for class org.restsql.core.impl.SqlResourceImpl
 
SqlResourceMetaData - Interface in org.restsql.core
Represents meta data for sql resource.
SqlResourceRolePrivileges - Class in org.restsql.security
Models actions available to a role on SQL Resource.
SqlResourceRolePrivileges(String, List<SqlResourceRolePrivileges.Privilege>, String) - Constructor for class org.restsql.security.SqlResourceRolePrivileges
 
SqlResourceRolePrivileges.Privilege - Enum in org.restsql.security
 
status - Variable in class org.restsql.core.sqlresource.DocumentationResponse
 
stripOperatorFromValue(RequestValue.Operator, Object) - Static method in class org.restsql.core.RequestValue
Returns value without leading operator.

T

table - Variable in class org.restsql.core.sqlresource.MetaData
 
Table - Class in org.restsql.core.sqlresource
Java class for Table complex type.
Table() - Constructor for class org.restsql.core.sqlresource.Table
 
TableMetaData - Interface in org.restsql.core
Encapsulates table information for an SQL Resource.
TableMetaData.TableRole - Enum in org.restsql.core
Represents all of the roles a table may plan in a SQL Resource.
TableMetaDataImpl - Class in org.restsql.core.impl
Encapsulates table information for an SQL Resource.
TableMetaDataImpl() - Constructor for class org.restsql.core.impl.TableMetaDataImpl
 
toHtml() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Returns HTML representation.
toHtml() - Method in interface org.restsql.core.SqlResourceMetaData
 
TOKEN_WILDCARD - Static variable in class org.restsql.security.SqlResourceRolePrivileges
 
ToolsFactory - Class in org.restsql.tools
Factory for tools objects.
ToolsFactory() - Constructor for class org.restsql.tools.ToolsFactory
 
ToolsResource - Class in org.restsql.service
Provides utilities to users.
ToolsResource() - Constructor for class org.restsql.service.ToolsResource
 
toString() - Method in class org.restsql.core.BinaryObject
Generates base64 string representation.
toString() - Method in class org.restsql.core.Config.ImmutableProperties
 
toString() - Method in class org.restsql.core.impl.HttpRequestAttributesImpl
 
toString() - Method in class org.restsql.core.impl.MediaTypeParser.ParseResults
 
toString() - Method in class org.restsql.core.impl.RequestImpl
Returns string representation, using HttpRequestAttributes string if present.
toString() - Method in class org.restsql.core.RequestValue
Returns string representation.
toString() - Method in class org.restsql.core.ResponseValue
Returns string representation in the form name: value.
toString() - Method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
 
toString() - Method in class org.restsql.security.SqlResourceRolePrivileges
 
toXml() - Method in class org.restsql.core.impl.AbstractSqlResourceMetaData
Returns XML representation.
toXml() - Method in interface org.restsql.core.SqlResourceMetaData
 
Trigger - Interface in org.restsql.core
Provides a mechanism for executing non-trivial domain validation or business logic on all CRUD operations.
TriggerManager - Class in org.restsql.core.impl
Manages trigger instantiation and execution.
TriggerManager() - Constructor for class org.restsql.core.impl.TriggerManager
 
type - Variable in class org.restsql.core.sqlresource.ValidatedAttribute
 

U

uri - Variable in class org.restsql.core.sqlresource.DocumentationRequest
 
user - Variable in class org.restsql.core.sqlresource.DocumentationRequest
 

V

validate(SqlResourceDefinition) - Static method in class org.restsql.core.sqlresource.SqlResourceDefinitionUtils
Throws SqlResourceException if definition meets one of the following criteria: No query element No metadata element No database element with default database name No Parent table element More than one Parent, Child or Join table elements
validatedAttribute - Variable in class org.restsql.core.sqlresource.SqlResourceDefinition
 
ValidatedAttribute - Class in org.restsql.core.sqlresource
Java class for ValidatedAttribute complex type.
ValidatedAttribute() - Constructor for class org.restsql.core.sqlresource.ValidatedAttribute
 
validatorClass - Variable in class org.restsql.core.sqlresource.ValidatedAttribute
 
value - Variable in class org.restsql.core.sqlresource.DocumentationDescription
 
value - Variable in class org.restsql.core.sqlresource.DocumentationHeader
 
value - Variable in class org.restsql.core.sqlresource.Query
 
valueOf(String) - Static method in enum org.restsql.core.Request.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restsql.core.RequestValue.Operator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restsql.core.TableMetaData.TableRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.restsql.core.Request.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restsql.core.RequestValue.Operator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restsql.core.TableMetaData.TableRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.restsql.security.SqlResourceRolePrivileges.Privilege
Returns an array containing the constants of this enum type, in the order they are declared.

W

WadlResource - Class in org.restsql.service
Redirects wadl request to the wadl file.
WadlResource() - Constructor for class org.restsql.service.WadlResource
 
write(Request) - Method in class org.restsql.core.impl.SqlResourceImpl
Executes database write (insert, update or delete).
write(Request) - Method in interface org.restsql.core.SqlResource
Executes database write (insert, update or delete).
WriteResponse - Class in org.restsql.core
Represents a restSQL write response containing the rows affected.
WriteResponse() - Constructor for class org.restsql.core.WriteResponse
Constructs response with empty requestResults sized for 1.

X

XmlRequestDeserializer - Class in org.restsql.core.impl.serial
Processes requests represented in an XML document using a SAX parser.
XmlRequestDeserializer() - Constructor for class org.restsql.core.impl.serial.XmlRequestDeserializer
 
XmlResponseSerializer - Class in org.restsql.core.impl.serial
Converts read/write results to an XML document.
XmlResponseSerializer() - Constructor for class org.restsql.core.impl.serial.XmlResponseSerializer
 

_

_default - Variable in class org.restsql.core.sqlresource.Database
 
A B C D E F G H I J K L M N O P Q R S T U V W X _ 

Copyright © 2011-2018 restSQL Project Contributors