SMACS

smacs.load.mapping
Interface DbMappingSourceCursor

All Superinterfaces:
DbMappingSourceSelector, DbMappingSourceTableList, HasRecordFieldNameArray
All Known Implementing Classes:
DbMappingSourceCursorNode

public interface DbMappingSourceCursor
extends DbMappingSourceSelector, HasRecordFieldNameArray

representation of data source. has a (a) list of record fields in the SELECT (b) more test constraints that be used to to check overlapping queries (c) explicit cursor options that define interrelation of source cursors.


Method Summary
 String getCursorOption(int i)
          get cursor option variant by name.
 String getRecordFieldName(int i)
          get item in select field list.
 int getRecordFieldNameMax()
          get size of select field list.
 SqlSelectStatementQ hasSqlSelectStatementQ()
          get ref to sql source syntax (if any).
 SqlSelectWhereClauseQ hasSqlSelectWhereClauseQ()
          get ref to sql where syntax (if any).
 
Methods inherited from interface smacs.load.mapping.DbMappingSourceSelector
getDbMappingRecordField, getRecordFieldSqlNode, getSqlCondition
 
Methods inherited from interface smacs.load.mapping.DbMappingSourceTableList
getRecordFieldSqlNode, getRecordFieldSqlNode, getSchemaTableSqlNode, getSchemaTableSqlNode, getSchemaTableSqlNode
 

Method Detail

hasSqlSelectStatementQ

public SqlSelectStatementQ hasSqlSelectStatementQ()
get ref to sql source syntax (if any).


hasSqlSelectWhereClauseQ

public SqlSelectWhereClauseQ hasSqlSelectWhereClauseQ()
get ref to sql where syntax (if any).


getRecordFieldNameMax

public int getRecordFieldNameMax()
get size of select field list.

Specified by:
getRecordFieldNameMax in interface HasRecordFieldNameArray

getRecordFieldName

public String getRecordFieldName(int i)
get item in select field list.

Specified by:
getRecordFieldName in interface HasRecordFieldNameArray

getCursorOption

public String getCursorOption(int i)
get cursor option variant by name.


SMACS