SAP BI Java SDK

com.sap.ip.bi.sdk.dac.relational.query.sapq
Class IBISapqSelectOption.Option

java.lang.Object
  |
  +--com.sap.ip.bi.sdk.dac.relational.query.sapq.IBISapqSelectOption.Enum
        |
        +--com.sap.ip.bi.sdk.dac.relational.query.sapq.IBISapqSelectOption.Option
All Implemented Interfaces:
Comparable
Enclosing class:
IBISapqSelectOption

public static final class IBISapqSelectOption.Option
extends IBISapqSelectOption.Enum
implements Comparable

Typesafe Enumerator for SELECT-OPTIONS Option.


Field Summary
static IBISapqSelectOption.Option BETWEEN
          BETWEEN option. For example: A BETWEEN 1 AND 2.
static IBISapqSelectOption.Option BT
          See BETWEEN.
static IBISapqSelectOption.Option CONTAINS_PATTERN
          CONTAINS-PATTERN option. For example: A LIKE '<pattern>'.
static IBISapqSelectOption.Option CP
          See CONTAINS_PATTERN.
static IBISapqSelectOption.Option EQ
          See EQUALS.
static IBISapqSelectOption.Option EQUALS
          EQUALS option. For example: A=1.
static IBISapqSelectOption.Option GE
          See GREATER_EQUALS.
static IBISapqSelectOption.Option GREATER_EQUALS
          GREATER_EQUALS option. For example: A>=1.
static IBISapqSelectOption.Option GREATER_THAN
          GREATER_THAN option. For example: A>1.
static IBISapqSelectOption.Option GT
          See GREATER_THAN.
static IBISapqSelectOption.Option LE
          See LESS_EQUALS.
static IBISapqSelectOption.Option LESS_EQUALS
          LESS_EQUALS option. For example: A<=1.
static IBISapqSelectOption.Option LESS_THAN
          LESS_THAN option. For example: A<1.
static IBISapqSelectOption.Option LT
          See LESS_THAN.
static IBISapqSelectOption.Option NB
          See NOT_BETWEEN.
static IBISapqSelectOption.Option NE
          See NOT_EQUALS.
static IBISapqSelectOption.Option NOT_BETWEEN
          NOT_BETWEEN option.
static IBISapqSelectOption.Option NOT_CONTAINS_PATTERN
          NOT_CONTAINS_PATTERN option. For example: NOT A LIKE '<pattern>'.
static IBISapqSelectOption.Option NOT_EQUALS
          NOT_EQUALS option. For example: A<>1.
static IBISapqSelectOption.Option NP
          See NOT_CONTAINS_PATTERN.
 
Method Summary
 int compareTo(Object other)
          Defines natural sort order on Option.
static IBISapqSelectOption.Option get(String type)
          Gets the option corresponding to the provided String.
 com.sap.ip.bi.sdk.dac.relational.query.sql.IBISQLComparisonOperator getSQL()
          Gets the equivalent SQL Operator.
 boolean isNegated()
          Indicates whether this Option is negated.
 
Methods inherited from class com.sap.ip.bi.sdk.dac.relational.query.sapq.IBISapqSelectOption.Enum
equals, equals, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EQUALS

public static final IBISapqSelectOption.Option EQUALS
EQUALS option.

For example: A=1.


BETWEEN

public static final IBISapqSelectOption.Option BETWEEN
BETWEEN option.

For example: A BETWEEN 1 AND 2.


CONTAINS_PATTERN

public static final IBISapqSelectOption.Option CONTAINS_PATTERN
CONTAINS-PATTERN option.

For example: A LIKE '<pattern>'.


GREATER_THAN

public static final IBISapqSelectOption.Option GREATER_THAN
GREATER_THAN option.

For example: A>1.


GREATER_EQUALS

public static final IBISapqSelectOption.Option GREATER_EQUALS
GREATER_EQUALS option.

For example: A>=1.


LESS_THAN

public static final IBISapqSelectOption.Option LESS_THAN
LESS_THAN option.

For example: A<1.


LESS_EQUALS

public static final IBISapqSelectOption.Option LESS_EQUALS
LESS_EQUALS option.

For example: A<=1.


NOT_EQUALS

public static final IBISapqSelectOption.Option NOT_EQUALS
NOT_EQUALS option.

For example: A<>1.


NOT_BETWEEN

public static final IBISapqSelectOption.Option NOT_BETWEEN
NOT_BETWEEN option.

For example: NOT A BETWEEN 1 AND 2.


NOT_CONTAINS_PATTERN

public static final IBISapqSelectOption.Option NOT_CONTAINS_PATTERN
NOT_CONTAINS_PATTERN option.

For example: NOT A LIKE '<pattern>'.


EQ

public static final IBISapqSelectOption.Option EQ
See EQUALS.

BT

public static final IBISapqSelectOption.Option BT
See BETWEEN.

CP

public static final IBISapqSelectOption.Option CP
See CONTAINS_PATTERN.

LE

public static final IBISapqSelectOption.Option LE
See LESS_EQUALS.

GE

public static final IBISapqSelectOption.Option GE
See GREATER_EQUALS.

NE

public static final IBISapqSelectOption.Option NE
See NOT_EQUALS.

NB

public static final IBISapqSelectOption.Option NB
See NOT_BETWEEN.

NP

public static final IBISapqSelectOption.Option NP
See NOT_CONTAINS_PATTERN.

GT

public static final IBISapqSelectOption.Option GT
See GREATER_THAN.

LT

public static final IBISapqSelectOption.Option LT
See LESS_THAN.
Method Detail

compareTo

public int compareTo(Object other)
              throws ClassCastException
Defines natural sort order on Option.
Specified by:
compareTo in interface Comparable
Parameters:
other - object to compare this Option against.
Returns:
integer defining the sort order
Throws:
ClassCastException - if other is not an instance of Option.
See Also:
Comparable

getSQL

public com.sap.ip.bi.sdk.dac.relational.query.sql.IBISQLComparisonOperator getSQL()
Gets the equivalent SQL Operator.
Returns:
the SQL operator

isNegated

public boolean isNegated()
Indicates whether this Option is negated.
Returns:
true if the this option is negated; false otherwise

get

public static IBISapqSelectOption.Option get(String type)
Gets the option corresponding to the provided String.
Parameters:
type - returns the stored Sign for type or null if it doesn't exist
Returns:
the option corresponding to the provided String

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.