To use it, query it as follows:
SELECT * FROM TABLE(SUSCS_DIAG.CONTAINED_ROLES('FOO')) t;
SELECT * FROM TABLE(CONTAINED_ROLES('FOO', 1)) t;
The following columns will be returned:
| Modifier and Type | Field and Description |
|---|---|
| private static final ResultColumnDescriptor[] | |
| pack-priv boolean | |
| pack-priv boolean | |
| private static final ResultSetMetaData | |
| pack-priv String | |
| pack-priv RoleClosureIterator | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public | ContainedRoles(String
The role identifier for which we want to find the set of
contained roles (inclusive). The identifier is expected to
be in SQL form (not case normal form). roleid, int If != 0, use the inverse relation: find those roles which
all contain roleid (inclusive). inverse)Constructor. |
| public | ContainedRoles(String
The role identifier for which we want to find the set of
contained roles (inclusive). The identifier is expected to
be in SQL form (not case normal form). roleid)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Releases this |
| public ResultSetMetaData | getMetaData()
Overrides org. Implements java. Retrieves the number, types and properties of
this |
| public String | getString(int
the first column is 1, the second is 2, ... columnIndex)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public boolean | next()
Implements java. Moves the cursor forward one row from its current position. |
| columnInfo | back to summary |
|---|---|
| private static final ResultColumnDescriptor[] columnInfo | |
| initialized | back to summary |
|---|---|
| pack-priv boolean initialized | |
| inverse | back to summary |
|---|---|
| pack-priv boolean inverse | |
| metadata | back to summary |
|---|---|
| private static final ResultSetMetaData metadata | |
| nextRole | back to summary |
|---|---|
| pack-priv String nextRole | |
| rci | back to summary |
|---|---|
| pack-priv RoleClosureIterator rci | |
| role | back to summary |
|---|---|
| pack-priv String role | |
| ContainedRoles | back to summary |
|---|---|
| public ContainedRoles(String roleid, int inverse) throws SQLException Constructor.
| |
| ContainedRoles | back to summary |
|---|---|
| public ContainedRoles(String roleid) throws SQLException Constructor.
| |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Releases this The closing of a
When a Note A
Calling the method
| |
| getMetaData | back to summary |
|---|---|
| public ResultSetMetaData getMetaData() Overrides org. Implements java. Doc from java. Retrieves the number, types and properties of
this
| |
| getString | back to summary |
|---|---|
| public String getString(int columnIndex) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| next | back to summary |
|---|---|
| public boolean next() throws SQLException Implements java. Doc from java. Moves the cursor forward one row from its current position.
A
When a call to the If an input stream is open for the current row, a call
to the method
| |