|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.rio.Options
public class Options
This is the Options class which defines the SAS options like By clause, while creating a table. This class also defines the SQL options like OrderBy clause and Where clause. This class is used to pass the SAS and SQL options as arguments for table creation and table access, but more than that is also used to disect the SQL statement in case we want to look at the SQL statement that caused a problem. This acts like an archive for SQL queries.
Constructor Summary | |
---|---|
Options()
Constructs an Options object. |
Method Summary | |
---|---|
MVAResultSet |
getByGroup()
Gets an MVAResultSet object containing rows of a by-group. |
java.lang.String |
getByStatement()
Gets the SAS BY statement text. |
java.lang.String |
getOptions()
Gets the options text. |
java.lang.String |
getOrderByStatement()
Gets the ORDER BY statement text. |
java.lang.String |
getWhereClause()
Gets the Where clause statement text. |
void |
setByStatement(java.lang.String text,
boolean appendFlag)
Sets BY statement text. |
void |
setOptions(java.lang.String text,
boolean appendFlag)
Sets options string to be passed in while creating a table. |
void |
setOrderByStatement(java.lang.String text,
boolean appendFlag)
Sets ORDER BY statement text. |
void |
setWhereClause(java.lang.String text,
boolean appendFlag)
Sets WHERE clause text. |
Constructor Detail |
---|
public Options()
Method Detail |
---|
public void setOptions(java.lang.String text, boolean appendFlag) throws RIOException
text
- An input String of options. Options may be NULL.appendFlag
- A boolean flag to append or not append options text.
RIOException
- This exception is never thrown.public void setByStatement(java.lang.String text, boolean appendFlag) throws RIOException
text
- An input String of BY statement text.appendFlag
- A boolean flag to append or not append text.
RIOException
- This exception is never thrown.public void setOrderByStatement(java.lang.String text, boolean appendFlag) throws RIOException
text
- An input String of ORDER BY statement text.appendFlag
- A boolean flag to append or not append text.
RIOException
- This exception is never thrown.public void setWhereClause(java.lang.String text, boolean appendFlag) throws RIOException
text
- An input String of WHERE clause statement text.appendFlag
- boolean flag to append or not append text.
RIOException
- This exception is never thrown.public MVAResultSet getByGroup() throws RIOException
RIOException
- This exception is thrown if a RIOException is detected.public java.lang.String getOrderByStatement() throws RIOException
RIOException
- This exception is never thrown.public java.lang.String getByStatement() throws RIOException
RIOException
- This exception is never thrown.public java.lang.String getWhereClause() throws RIOException
RIOException
- This exception is never thrown.public java.lang.String getOptions() throws RIOException
RIOException
- This exception is never thrown.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |