Skip navigation links

Oracle Application Server DMS API Reference
10g Release 3 (10.1.3.1.0)

B28943-01


oracle.dms.table
Class RowSelector

java.lang.Object
  extended by oracle.dms.table.RowSelector


public abstract class RowSelector
extends java.lang.Object

A RowSelector selects Rows according to the given criteria.

Since:
Oracle Application Server 10g (10.1.3)

Method Summary
static RowSelector and(RowSelector selector1, RowSelector selector2)
          Returns a RowSelector selecting Rows that meet all criteria determined by both of the RowSelectors.
static RowSelector eq(java.lang.String column, java.lang.Object value)
          Returns a RowSelector selecting Rows that have the given value at the given column.
static RowSelector eqIgnoreCase(java.lang.String column, java.lang.String value)
          Returns a RowSelector selecting Rows where the values at the given column are equal to the given String if ignoring the case.
static RowSelector ge(java.lang.String column, java.lang.Object value)
          Returns a RowSelector selecting Rows where the values at the given column are greater than and equal to the given value.
static RowSelector gt(java.lang.String column, java.lang.Object value)
          Returns a RowSelector selecting Rows where the values at the given column are greater than the given value.
static RowSelector le(java.lang.String column, java.lang.Object value)
          Returns a RowSelector selecting Rows where the values at the given column are less than and equal to the given value.
static RowSelector lt(java.lang.String column, java.lang.Object value)
          Returns a RowSelector selecting Rows where the values at the given column are less than the given value.
static RowSelector not(RowSelector selector)
          Returns a RowSelector selecting Rows that do not meet the criteria determined by the given RowSelectors.
static RowSelector or(RowSelector selector1, RowSelector selector2)
          Returns a RowSelector selecting Rows that meet the criteria determined by either one of the RowSelectors.
abstract  boolean select(Row row)
          Selects Rows according to the criteria.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

eq

public static RowSelector eq(java.lang.String column,
                             java.lang.Object value)
Returns a RowSelector selecting Rows that have the given value at the given column.
Parameters:
column - column name.
value - The given value.
Returns:
a RowSelector selecting Rows that have the given value at the given column.
Since:
Oracle Application Server 10g (10.1.3)

gt

public static RowSelector gt(java.lang.String column,
                             java.lang.Object value)
Returns a RowSelector selecting Rows where the values at the given column are greater than the given value.
Parameters:
column - column name.
value - The given value.
Returns:
a RowSelector selecting Rows where the values at the given column are greater than the given value.
Since:
Oracle Application Server 10g (10.1.3)

ge

public static RowSelector ge(java.lang.String column,
                             java.lang.Object value)
Returns a RowSelector selecting Rows where the values at the given column are greater than and equal to the given value.
Parameters:
column - column name.
value - The given value.
Returns:
a RowSelector selecting Rows where the values at the given column are greater than and equal to the given value.
Since:
Oracle Application Server 10g (10.1.3)

lt

public static RowSelector lt(java.lang.String column,
                             java.lang.Object value)
Returns a RowSelector selecting Rows where the values at the given column are less than the given value.
Parameters:
column - column name.
value - The given value.
Returns:
a RowSelector selecting Rows where the values at the given column are less than the given value.
Since:
Oracle Application Server 10g (10.1.3)

le

public static RowSelector le(java.lang.String column,
                             java.lang.Object value)
Returns a RowSelector selecting Rows where the values at the given column are less than and equal to the given value.
Parameters:
column - column name.
value - The given value.
Returns:
a RowSelector selecting Rows where the values at the given column are less than and equal to the given value.
Since:
Oracle Application Server 10g (10.1.3)

eqIgnoreCase

public static RowSelector eqIgnoreCase(java.lang.String column,
                                       java.lang.String value)
Returns a RowSelector selecting Rows where the values at the given column are equal to the given String if ignoring the case.
Parameters:
column - column name.
value - The given value.
Returns:
a RowSelector selecting Rows where the values at the given column are equal to the given String if ignoring the case.
Since:
Oracle Application Server 10g (10.1.3)

and

public static RowSelector and(RowSelector selector1,
                              RowSelector selector2)
Returns a RowSelector selecting Rows that meet all criteria determined by both of the RowSelectors.
Parameters:
selector1 - One of the selector.
selector2 - The other selector.
Returns:
a RowSelector selecting Rows that meet all criteria determined by both of the RowSelectors.
Since:
Oracle Application Server 10g (10.1.3)

or

public static RowSelector or(RowSelector selector1,
                             RowSelector selector2)
Returns a RowSelector selecting Rows that meet the criteria determined by either one of the RowSelectors.
Parameters:
selector1 - One of the selector.
selector2 - The other selector.
Returns:
a RowSelector selecting Rows that meet the criteria determined by either one of the RowSelectors.
Since:
Oracle Application Server 10g (10.1.3)

not

public static RowSelector not(RowSelector selector)
Returns a RowSelector selecting Rows that do not meet the criteria determined by the given RowSelectors.
Parameters:
selector - the given selector.
Returns:
a RowSelector selecting Rows that do not meet the criteria determined by the given RowSelectors.
Since:
Oracle Application Server 10g (10.1.3)

select

public abstract boolean select(Row row)
Selects Rows according to the criteria. Subclasses should implement this method to select the desired Rows.
Parameters:
row - Row to be selected.
Returns:
true if the given Row meets the selection criteria.
Since:
Oracle Application Server 10g (10.1.3)

Skip navigation links

Oracle Application Server DMS API Reference
10g Release 3 (10.1.3.1.0)

B28943-01


Copyright © 2004, 2006, Oracle. All Rights Reserved.