A C D E G H I M O P S T V W

A

addPaging(String, int, int) - Method in class com.opengamma.elsql.ElSqlConfig
Alters the supplied SQL to add paging, such as OFFSET-FETCH.

C

com.opengamma.elsql - package com.opengamma.elsql
A library to manage SQL external to the application.
contains(String) - Method in class com.opengamma.elsql.MapSqlParams
 
contains(String) - Method in class com.opengamma.elsql.SpringSqlParams
 
contains(String) - Method in interface com.opengamma.elsql.SqlParams
Checks whether the variable exists.

D

DEFAULT - Static variable in class com.opengamma.elsql.ElSqlConfig
A constant for the standard set of config, based on ANSI SQL.

E

ElSql - Class in com.opengamma.elsql
Main entry point, providing access to a bundle of elsql formatted SQL.
ElSqlBundle - Class in com.opengamma.elsql
Entry point integrated with the Spring framework, providing access to a bundle of elsql formatted SQL.
ElSqlConfig - Class in com.opengamma.elsql
Configuration that provides support for differences between databases.
ElSqlConfig(String) - Constructor for class com.opengamma.elsql.ElSqlConfig
Creates an instance.

G

get(String) - Method in class com.opengamma.elsql.MapSqlParams
 
get(String) - Method in class com.opengamma.elsql.SpringSqlParams
 
get(String) - Method in interface com.opengamma.elsql.SqlParams
Gets the variable, returning null if not found.
getConfig() - Method in class com.opengamma.elsql.ElSql
Gets the configuration object.
getConfig() - Method in class com.opengamma.elsql.ElSqlBundle
Gets the configuration object.
getLikeSuffix() - Method in class com.opengamma.elsql.ElSqlConfig
Gets the suffix to add after LIKE, which would typically be an ESCAPE clause.
getName() - Method in class com.opengamma.elsql.ElSqlConfig
Gets the config name.
getPaging(int, int) - Method in class com.opengamma.elsql.ElSqlConfig
Gets the paging SQL, such as OFFSET-FETCH.
getSql(String) - Method in class com.opengamma.elsql.ElSql
Finds SQL for a named fragment key, without specifying parameters.
getSql(String, SqlParams) - Method in class com.opengamma.elsql.ElSql
Finds SQL for a named fragment key, providing the SQL parameters.
getSql(String, Map<String, Object>) - Method in class com.opengamma.elsql.ElSql
Finds SQL for a named fragment key, providing a map of SQL parameters.
getSql(String) - Method in class com.opengamma.elsql.ElSqlBundle
Finds SQL for a named fragment key, without specifying parameters.
getSql(String, SqlParameterSource) - Method in class com.opengamma.elsql.ElSqlBundle
Finds SQL for a named fragment key.

H

HSQL - Static variable in class com.opengamma.elsql.ElSqlConfig
A constant for the config needed for HSQL, which escapes the LIKE clause.

I

isLikeWildcard(String) - Method in class com.opengamma.elsql.ElSqlConfig
Checks if the value contains a wildcard.

M

MapSqlParams - Class in com.opengamma.elsql
Provides access to SQL parameters from a map.
MapSqlParams(Map<String, Object>) - Constructor for class com.opengamma.elsql.MapSqlParams
Creates an instance based on a map.
MapSqlParams(String, Object) - Constructor for class com.opengamma.elsql.MapSqlParams
Creates an instance based on one key-value pair.
MYSQL - Static variable in class com.opengamma.elsql.ElSqlConfig
A constant for the config needed for MySQL, which uses LIMIT-OFFSET instead of FETCH-OFFSET.

O

of(ElSqlConfig, Class<?>) - Static method in class com.opengamma.elsql.ElSql
Loads external SQL based for the specified type.
of(ElSqlConfig, Class<?>) - Static method in class com.opengamma.elsql.ElSqlBundle
Loads external SQL based for the specified type.
ORACLE - Static variable in class com.opengamma.elsql.ElSqlConfig
A constant for the config needed for Oracle RDBMS.

P

parse(ElSqlConfig, URL...) - Static method in class com.opengamma.elsql.ElSql
Parses a bundle from a resource locating a file, specify the config.
parse(ElSqlConfig, Resource...) - Static method in class com.opengamma.elsql.ElSqlBundle
Parses a bundle from a resource locating a file, specify the config.
POSTGRES - Static variable in class com.opengamma.elsql.ElSqlConfig
A constant for the config needed for Postgres, the same as DEFAULT.

S

SpringSqlParams - Class in com.opengamma.elsql
Provides access to SQL parameters from Spring.
SpringSqlParams(SqlParameterSource) - Constructor for class com.opengamma.elsql.SpringSqlParams
Creates an instance based on a source.
SQL_SERVER_2008 - Static variable in class com.opengamma.elsql.ElSqlConfig
A constant for the config needed for SQL Server 2008, which pages in a different way.
SqlParams - Interface in com.opengamma.elsql
Provides access to SQL parameters.

T

toString() - Method in class com.opengamma.elsql.ElSqlConfig
 

V

VERTICA - Static variable in class com.opengamma.elsql.ElSqlConfig
A constant for the config needed for Vertica, the same as DEFAULT.

W

with(String, Object) - Method in class com.opengamma.elsql.MapSqlParams
Returns a new instance with the specified key-value pair added.
withConfig(ElSqlConfig) - Method in class com.opengamma.elsql.ElSql
Returns a copy of this bundle with a different configuration.
withConfig(ElSqlConfig) - Method in class com.opengamma.elsql.ElSqlBundle
Returns a copy of this bundle with a different configuration.

A C D E G H I M O P S T V W

Copyright 2009-Present by OpenGamma Inc. and individual contributors, released under the Apache License Version 2.0