public class PLSQLrecord extends ComplexDatabaseType implements OraclePLSQLType, java.lang.Cloneable
DatabaseType.DatabaseTypeHelperPLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONVARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX| Constructor and Description |
|---|
PLSQLrecord() |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(PLSQLargument field) |
void |
addField(java.lang.String fieldName,
DatabaseType databaseType) |
void |
addField(java.lang.String fieldName,
DatabaseType databaseType,
int length) |
void |
addField(java.lang.String fieldName,
DatabaseType databaseType,
int precision,
int scale) |
void |
buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call) |
void |
buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg) |
void |
buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument outArg,
PLSQLStoredProcedureCall call) |
void |
buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg) |
void |
buildOutputRow(PLSQLargument outArg,
AbstractRecord outputRow,
DatabaseRecord newOutputRow,
java.util.List<DatabaseField> outputRowFields,
java.util.List outputRowValues) |
PLSQLrecord |
clone() |
int |
computeInIndex(PLSQLargument inArg,
int newIndex,
java.util.ListIterator<PLSQLargument> iterator) |
int |
computeOutIndex(PLSQLargument outArg,
int newIndex,
java.util.ListIterator<PLSQLargument> iterator) |
java.util.List<PLSQLargument> |
getFields()
Return the record's fields defined as PLSQLargument.
|
int |
getSqlCode() |
boolean |
isRecord() |
void |
logParameter(java.lang.StringBuilder sb,
java.lang.Integer direction,
PLSQLargument arg,
AbstractRecord translationRow,
DatabasePlatform platform) |
void |
translate(PLSQLargument arg,
AbstractRecord translationRow,
AbstractRecord copyOfTranslationRow,
java.util.List<DatabaseField> copyOfTranslationFields,
java.util.List<DatabaseField> translationRowFields,
java.util.List translationRowValues,
StoredProcedureCall call) |
getCompatibleType, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isCollection, isComplexDatabaseType, isCursor, isJDBCType, isStruct, setCompatibleType, setJavaType, setJavaTypeName, setTypeName, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConversionCode, getTypeName, isComplexDatabaseType, isJDBCTypepublic PLSQLrecord clone()
clone in class ComplexDatabaseTypepublic boolean isRecord()
isRecord in class ComplexDatabaseTypepublic java.util.List<PLSQLargument> getFields()
public int getSqlCode()
getSqlCode in interface DatabaseTypepublic void addField(PLSQLargument field)
public void addField(java.lang.String fieldName,
DatabaseType databaseType)
public void addField(java.lang.String fieldName,
DatabaseType databaseType,
int precision,
int scale)
public void addField(java.lang.String fieldName,
DatabaseType databaseType,
int length)
public int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> iterator)
computeInIndex in interface DatabaseTypecomputeInIndex in class ComplexDatabaseTypepublic int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> iterator)
computeOutIndex in interface DatabaseTypecomputeOutIndex in class ComplexDatabaseTypepublic void buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg)
buildInDeclare in interface DatabaseTypebuildInDeclare in class ComplexDatabaseTypepublic void buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg)
buildOutDeclare in interface DatabaseTypebuildOutDeclare in class ComplexDatabaseTypepublic void buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call)
buildBeginBlock in interface DatabaseTypebuildBeginBlock in class ComplexDatabaseTypepublic void buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument outArg,
PLSQLStoredProcedureCall call)
buildOutAssignment in interface DatabaseTypebuildOutAssignment in class ComplexDatabaseTypepublic void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, java.util.List<DatabaseField> copyOfTranslationFields, java.util.List<DatabaseField> translationRowFields, java.util.List translationRowValues, StoredProcedureCall call)
translate in interface DatabaseTypetranslate in class ComplexDatabaseTypepublic void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.List<DatabaseField> outputRowFields, java.util.List outputRowValues)
buildOutputRow in interface DatabaseTypebuildOutputRow in class ComplexDatabaseTypepublic void logParameter(java.lang.StringBuilder sb,
java.lang.Integer direction,
PLSQLargument arg,
AbstractRecord translationRow,
DatabasePlatform platform)
logParameter in interface DatabaseTypelogParameter in class ComplexDatabaseTypeEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference