SAP ABAP Class CL_TREX_QUERY (Query)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-TRX-API (Application Component) TREX ABAP + JAVA API
     STREX (Package) TREX ABAP client
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_TREX_QUERY Query Interface 20070214
Properties
Class CL_TREX_QUERY  
Short Description Query    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package STREX   TREX ABAP client 
Created 20060117   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_TREX_QUERY has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_TREX_QUERY Query Interface 20070214
Friends
# Friend Modeled only Created on Description
1 IF_TREX_SXML_READABLE 20070516 Readable from SXML Reader
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CONTENT_TYPE_CONTENT Instance attribute Public Attribute reference (LIKE) 20070214
2 C_OPERATOR_EQUALS Instance attribute Public Attribute reference (LIKE) 20070214
3 C_ROWTYPE_OPERATOR Instance attribute Public Attribute reference (LIKE) 20070214
4 C_TERM_ACTION_EXACT Instance attribute Public Attribute reference (LIKE) 20070214
5 DATA Instance attribute Public Type reference (TYPE) TREXT_QUERY_ENTRIES Search query 20060117
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ATTRIBUTE Instance method Public Method 20060414
2 ADD_ENTRIES Instance method Public Method 20060214
3 ADD_OPERATOR Instance method Public Method 20061211
4 ADD_TERM Instance method Public Method 20060414
5 CLEAR Instance method Public Method 20060206
6 CLOSE_BRACKET Instance method Public Method 20070213
7 CREATE_BY_ITAB Static method Public Method 20060130
8 CREATE_WITH_ATTRIBUTE Static method Public Method CONSTRUCTOR 20060414
9 CREATE_WITH_TERM Static method Public Method 20060414
10 GET_OPERATOR_FOR_SQL Static method Private Method convert ABAP operator to SQL operator 20100616
11 GET_SQL_WHERE_CLAUSE Instance method Public Method generate an SQL where clause from query entries. 20100616
12 OPEN_BRACKET Instance method Public Method 20070213
13 PARSE_BY_LINES Instance method Private Method parse query entries one after another. 20100616
14 PARSE_BY_POSTFIX_NOTATION Instance method Private Method parse query entries by postfix notation (RPN). 20100616
15 REMOVE_CP_WITH_WILDCARD Instance method Private Method for optimizing query entries. 20101209
16 ROUNDTRIP_CONVERT Instance method Public Method 20071015
17 ROUNDTRIP_CONVERT_DATA Static method Public Method 20071015
18 SET_FREESTYLE Instance method Public Method 20060822
Events
Class CL_TREX_QUERY has no event.
Types
Class CL_TREX_QUERY has no local type.
Method Signatures

Method ADD_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index Id 20060710
2 Importing NAME Call by reference Type reference (TYPE) TREXD_ATTR_NAME Attribute name 20060414
3 Importing OPERATOR Call by reference Type reference (TYPE) TREXD_OPERATOR operator 20060414
4 Importing VALUE1 Call by reference Type reference (TYPE) DATA 20060414
5 Importing VALUE2 Call by reference Type reference (TYPE) DATA 20060414

Method ADD_ATTRIBUTE on class CL_TREX_QUERY has no exception.

Method ADD_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENTRIES Call by reference Type reference (TYPE) TREXT_QUERY_ENTRIES Search query 20060214

Method ADD_ENTRIES on class CL_TREX_QUERY has no exception.

Method ADD_OPERATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) STRING 20061211

Method ADD_OPERATOR on class CL_TREX_QUERY has no exception.

Method ADD_TERM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTION Call by reference Type reference (TYPE) TREXD_TERM_ACTION C_TERM_ACTION_EXACT Term action (Exact, fuzzy, linquistic search) 20060414
2 Importing VALUE Call by reference Type reference (TYPE) STRING 20060414

Method ADD_TERM on class CL_TREX_QUERY has no exception.

Method CLEAR Signature

Method CLEAR on class CL_TREX_QUERY has no parameter.
Method CLEAR on class CL_TREX_QUERY has no exception.

Method CLOSE_BRACKET Signature

Method CLOSE_BRACKET on class CL_TREX_QUERY has no parameter.
Method CLOSE_BRACKET on class CL_TREX_QUERY has no exception.

Method CREATE_BY_ITAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITAB Call by reference Type reference (TYPE) TREXT_QUERY_ENTRIES Search query 20060130
2 Returning RVAL Value transfer Object reference (TYPE REF TO) CL_TREX_QUERY Query 20060130

Method CREATE_BY_ITAB on class CL_TREX_QUERY has no exception.

Method CREATE_WITH_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index Id 20060710
2 Importing NAME Call by reference Type reference (TYPE) TREXD_ATTR_NAME Attribute name 20060414
3 Importing OPERATOR Call by reference Type reference (TYPE) TREXD_OPERATOR operator 20060414
4 Returning RVAL Value transfer Object reference (TYPE REF TO) CL_TREX_QUERY Query 20060414
5 Importing VALUE1 Call by reference Type reference (TYPE) DATA 20060414
6 Importing VALUE2 Call by reference Type reference (TYPE) DATA 20060414

Method CREATE_WITH_ATTRIBUTE on class CL_TREX_QUERY has no exception.

Method CREATE_WITH_TERM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTION Call by reference Type reference (TYPE) TREXD_TERM_ACTION C_TERM_ACTION_EXACT Term action (Exact, fuzzy, linquistic search) 20060414
2 Returning RVAL Value transfer Object reference (TYPE REF TO) CL_TREX_QUERY Query 20060414
3 Importing VALUE Call by reference Type reference (TYPE) STRING 20060414

Method CREATE_WITH_TERM on class CL_TREX_QUERY has no exception.

Method GET_OPERATOR_FOR_SQL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SQL_OPERATOR Value transfer Type reference (TYPE) STRING 20100616
2 Importing TREX_ABAP_OPERATOR Call by reference Type reference (TYPE) TREXD_OPERATOR Operator (EQ, BT, ...) 20100616

Method GET_OPERATOR_FOR_SQL on class CL_TREX_QUERY has no exception.

Method GET_SQL_WHERE_CLAUSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning STATEMENT Value transfer Type reference (TYPE) STRING 20100616
# Exception Resumable Description Created on
1 CX_TREX_BAD_REQUEST Unexpected data received from application. 20100617

Method OPEN_BRACKET Signature

Method OPEN_BRACKET on class CL_TREX_QUERY has no parameter.
Method OPEN_BRACKET on class CL_TREX_QUERY has no exception.

Method PARSE_BY_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning STATEMENT Value transfer Type reference (TYPE) STRING 20100616
# Exception Resumable Description Created on
1 CX_TREX_BAD_REQUEST Unexpected data received from application. 20100616

Method PARSE_BY_POSTFIX_NOTATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning STATEMENT Value transfer Type reference (TYPE) STRING 20100616

Method PARSE_BY_POSTFIX_NOTATION on class CL_TREX_QUERY has no exception.

Method REMOVE_CP_WITH_WILDCARD Signature

Method REMOVE_CP_WITH_WILDCARD on class CL_TREX_QUERY has no parameter.
Method REMOVE_CP_WITH_WILDCARD on class CL_TREX_QUERY has no exception.

Method ROUNDTRIP_CONVERT Signature

Method ROUNDTRIP_CONVERT on class CL_TREX_QUERY has no parameter.
Method ROUNDTRIP_CONVERT on class CL_TREX_QUERY has no exception.

Method ROUNDTRIP_CONVERT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing DATA Call by reference Type reference (TYPE) TREXT_QUERY_ENTRIES Search query 20071015

Method ROUNDTRIP_CONVERT_DATA on class CL_TREX_QUERY has no exception.

Method SET_FREESTYLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing VALUE Call by reference Type reference (TYPE) STRING 20060822

Method SET_FREESTYLE on class CL_TREX_QUERY has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 710