SearchExpression

abstract class SearchExpression

Represents a parsed OData search expression.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.SearchTerm}.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val isEmpty: Boolean
Link copied to clipboard
Link copied to clipboard
open val isPhrase: Boolean
Link copied to clipboard
open val isTerm: Boolean
Link copied to clipboard
open val isWord: Boolean
Link copied to clipboard
Link copied to clipboard
abstract val operator: Int
Link copied to clipboard
open val words: StringList

Functions

Link copied to clipboard

Return the and combination of this search expression with another search expression.

Link copied to clipboard
open fun matches(words: StringList): Boolean

Return true if this search expression matches a specified list of words. Equivalent to matchesWithOptions(words, SearchOptions.none).

Link copied to clipboard
abstract fun matchesWithOptions(words: StringList, options: SearchOptions): Boolean

Return true if this search expression matches a specified list of words.

Link copied to clipboard
open fun not(): SearchExpression

Return the negation of this search expression.

Link copied to clipboard

Return the or combination of this search expression with another search expression.

Link copied to clipboard
abstract override fun toString(): String

Return this search expression in human readable format.

Link copied to clipboard
abstract fun urlString(): String

Return this search expression in OData URL format.