public abstract class TargetBase extends Object
HighCardSqlTupleReader
and
SqlTupleReader
.
Keeps track of target levels and constraints for adding to the SQL query.
The real work is done in the extending classes,
Target
and
SqlTupleReader.Target
.
Constructor and Description |
---|
TargetBase(List<RolapMember> srcMembers,
RolapLevel level,
TupleReader.MemberBuilder memberBuilder) |
Modifier and Type | Method and Description |
---|---|
void |
add(RolapMember member) |
int |
addRow(SqlStatement stmt,
int column)
Adds a row to the collection.
|
abstract List<Member> |
close() |
RolapMember |
getCurrMember() |
RolapLevel |
getLevel() |
List<RolapMember> |
getList() |
List<RolapMember> |
getSrcMembers() |
abstract void |
open() |
void |
removeCurrMember() |
void |
setCurrMember(RolapMember m) |
void |
setList(List<RolapMember> list) |
String |
toString() |
public TargetBase(List<RolapMember> srcMembers, RolapLevel level, TupleReader.MemberBuilder memberBuilder)
public void setList(List<RolapMember> list)
public List<RolapMember> getSrcMembers()
public RolapLevel getLevel()
public RolapMember getCurrMember()
public void removeCurrMember()
public void setCurrMember(RolapMember m)
public List<RolapMember> getList()
public final int addRow(SqlStatement stmt, int column) throws SQLException
stmt
- Statementcolumn
- Column ordinal (0-based)SQLException
- On errorpublic abstract void open()
public void add(RolapMember member)
Copyright © 2019 Hitachi Vantara. All rights reserved.