SAP BI Java SDK

com.sap.ip.bi.sdk.dac.relational.query.sapq
Interface IBISapqSelectOption

All Superinterfaces:
Comparable

public interface IBISapqSelectOption
extends Comparable

Record of an ABAP/4 SELECT-OPTIONS table. The semantic is described below, paraphrased from ABAP/4 online help. Throughout this document, sel stands for an array of IBISapqSelectOption.

The components of sel have the following meaning:

Note:

  1. All lines with the same COLUMN define together a set (in the following SEL).
    1. Each line of SEL describes a set.
    2. The set defined by the entire table SEL is the union of inclusive sets (lines with SIGN = 'I) minus the union of exclusive sets (lines with SIGN = 'E').
    3. If no lines exist with SIGN = 'I', the union of inclusive sets is set to its maximum size.
    4. If no lines exist with SIGN = 'E', the union of exclusive sets is empty.
  2. The set defined by the entire table is the intersection of the above defined sets (defined by grouping the rows by the same COLUMN value).

Example
Contents of table sel:

COLUMN SIGN OPTION LOW HIGH
col1IBT16
col1EBT47
col1IEQ1 
col1IEQ7 
col1IEQ9 
col1EEQ1 
col2IEQ10 

If the table T with the columns col1 and col2 contained all possible pairs of integral numbers the above sel would contain the following pairs: {(2,10), (3,10), (9,10)}.

Note:
The logical expression is satisfied whenever the table sel is empty.

Since:
3.50

Inner Class Summary
static class IBISapqSelectOption.Enum
          Simple typesafe enumerator.
static class IBISapqSelectOption.Kind
          Typesafe Enumerator for SELECT-OPTIONS Kind.
static class IBISapqSelectOption.Option
          Typesafe Enumerator for SELECT-OPTIONS Option.
static class IBISapqSelectOption.Sign
          Typesafe Enumerator for SELECT-OPTIONS Sign.
 
Field Summary
static char MATCH_ESCAPE
          Allows the literal use of the characters MATCH_MULTIPLE_CHARS, MATCH_SINGLE_CHAR and MATCH_ESCAPE in the pattern.
static char MATCH_MULTIPLE_CHARS
          Matches 0 or more characters in the string.
static char MATCH_SINGLE_CHAR
          Matches exactly 1 character in the string.
 
Method Summary
 Column getColumn()
          Gets the column.
 String getHigh()
          Gets the high value (used only in conjunction with the options BETWEEN and NOT_BETWEEN).
 IBISapqSelectOption.Kind getKind()
          Gets the kind (PARAMETER or SELECT_OPTION).
 String getLow()
          Gets the low value.
 IBISapqSelectOption.Option getOption()
          Gets the option (EQUALS, BETWEEN, ...).
 IBISapqSelectOption.Sign getSign()
          Gets the sign (INCLUDING or EXCLUDING).
 String getTableRef()
          Gets the table reference.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

MATCH_MULTIPLE_CHARS

public static final char MATCH_MULTIPLE_CHARS
Matches 0 or more characters in the string.

MATCH_SINGLE_CHAR

public static final char MATCH_SINGLE_CHAR
Matches exactly 1 character in the string.

MATCH_ESCAPE

public static final char MATCH_ESCAPE
Allows the literal use of the characters MATCH_MULTIPLE_CHARS, MATCH_SINGLE_CHAR and MATCH_ESCAPE in the pattern.
Method Detail

getTableRef

public String getTableRef()
Gets the table reference.
Returns:
the table reference

getColumn

public Column getColumn()
Gets the column.
Returns:
the column

getKind

public IBISapqSelectOption.Kind getKind()
Gets the kind (PARAMETER or SELECT_OPTION).
Returns:
the kind

getSign

public IBISapqSelectOption.Sign getSign()
Gets the sign (INCLUDING or EXCLUDING).
Returns:
the sign

getOption

public IBISapqSelectOption.Option getOption()
Gets the option (EQUALS, BETWEEN, ...).
Returns:
the option

getLow

public String getLow()
Gets the low value.
Returns:
the low value

getHigh

public String getHigh()
Gets the high value (used only in conjunction with the options BETWEEN and NOT_BETWEEN).
Returns:
the high value

SAP BI Java SDK

Copyright © 2004-2006 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.