SAP ABAP Class CL_ESH_QP_TOKENIZER (Text tokenizer)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_QUERY_PARSER (Package) Query Parser
⤷
⤷
Properties
| Class | CL_ESH_QP_TOKENIZER | |
| Short Description | Text tokenizer | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_QUERY_PARSER | Query Parser |
| Created | 20090730 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ESH_QP_TOKENIZER has no interface implemented.
Friends
Class CL_ESH_QP_TOKENIZER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ICU_BREAKITERATOR | 20090730 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | ICU_S_LOCALE | Transfer structure to specify an ICU locale | 20090730 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | ICU_A_LOCALE_NAME | ICU locale name | 20090730 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_REGEX | Regular expressions | 20090730 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | STRING | 20090730 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | STRING | 20090730 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | 20090730 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20090730 | |
| 2 | Instance method | Private | Method | Return true if input contains an alphanumeric character | 20090730 | |
| 3 | Instance method | Public | Method | Produce simple token list for a given string | 20090730 | |
| 4 | Instance method | Public | Method | Produce word list for a given string | 20090730 |
Events
Class CL_ESH_QP_TOKENIZER has no event.
Types
Class CL_ESH_QP_TOKENIZER has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_LOCALE | Call by reference | Type reference (TYPE) | ICU_S_LOCALE | Transfer Structure to Specify an ICU Locale | 20090803 | |||
| 2 | IV_FALLBACK_OFF | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20090730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ICU Locale nicht vorhanden | 20090730 | ||
| 2 | General ICU Error | 20090803 |
Method CONTAINSALPHANUM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_END | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20090730 | |||
| 2 | IV_S | Call by reference | Type reference (TYPE) | STRING | 20090730 | ||||
| 3 | IV_START | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20090730 | |||
| 4 | RV_RC | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090730 | |||
| 2 | 20090730 | |||
| 3 | 20090730 |
Method GET_TOKENS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TOKENS | Call by reference | Type reference (TYPE) | STRING_TABLE | Tokens in iv_source | 20090730 | |||
| 2 | EV_COUNT | Call by reference | Type reference (TYPE) | I | 20090730 | ||||
| 3 | IV_SOURCE | Call by reference | Type reference (TYPE) | STRING | 20090730 |
Method GET_TOKENS on class CL_ESH_QP_TOKENIZER has no exception.
Method GET_WORDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_WORDS | Call by reference | Type reference (TYPE) | STRING_TABLE | Words in iv_source | 20090730 | |||
| 2 | EV_COUNT | Call by reference | Type reference (TYPE) | I | 20090730 | ||||
| 3 | IV_SOURCE | Call by reference | Type reference (TYPE) | STRING | 20090730 |
Method GET_WORDS on class CL_ESH_QP_TOKENIZER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |