public class ParameterTranslationsImpl extends Object implements ParameterTranslations
Modifier and Type | Class and Description |
---|---|
static class |
ParameterTranslationsImpl.ParameterInfo |
Constructor and Description |
---|
ParameterTranslationsImpl(List<ParameterSpecification> parameterSpecifications)
Constructs a parameter metadata object given a list of parameter
specifications.
|
Modifier and Type | Method and Description |
---|---|
Type |
getNamedParameterExpectedType(String name) |
ParameterTranslationsImpl.ParameterInfo |
getNamedParameterInfo(String name) |
Set |
getNamedParameterNames() |
int[] |
getNamedParameterSqlLocations(String name) |
int |
getOrdinalParameterCount() |
Type |
getOrdinalParameterExpectedType(int ordinalPosition) |
ParameterTranslationsImpl.ParameterInfo |
getOrdinalParameterInfo(int ordinalPosition) |
int |
getOrdinalParameterSqlLocation(int ordinalPosition) |
boolean |
supportsOrdinalParameterMetadata() |
public ParameterTranslationsImpl(List<ParameterSpecification> parameterSpecifications)
parameterSpecifications
- The parameter specificationspublic boolean supportsOrdinalParameterMetadata()
supportsOrdinalParameterMetadata
in interface ParameterTranslations
public int getOrdinalParameterCount()
getOrdinalParameterCount
in interface ParameterTranslations
public ParameterTranslationsImpl.ParameterInfo getOrdinalParameterInfo(int ordinalPosition)
public int getOrdinalParameterSqlLocation(int ordinalPosition)
getOrdinalParameterSqlLocation
in interface ParameterTranslations
public Type getOrdinalParameterExpectedType(int ordinalPosition)
getOrdinalParameterExpectedType
in interface ParameterTranslations
public Set getNamedParameterNames()
getNamedParameterNames
in interface ParameterTranslations
public ParameterTranslationsImpl.ParameterInfo getNamedParameterInfo(String name)
public int[] getNamedParameterSqlLocations(String name)
getNamedParameterSqlLocations
in interface ParameterTranslations
public Type getNamedParameterExpectedType(String name)
getNamedParameterExpectedType
in interface ParameterTranslations
Copyright © 2016 JBoss by Red Hat. All rights reserved.