ISearchRequestSimpleQuery¶
-
interface
OCP\FullTextSearch\Model\
ISearchRequestSimpleQuery
¶ - Interface ISearchRequestSimpleQueryAdd a Query during a Search Request...- on a specific field,- using a specific value,- with a specific comparison
Implemented by: OC\FullTextSearch\Model\SearchRequestSimpleQuery
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#41
Constants¶
-
COMPARE_TYPE_TEXT = 1
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#42
-
COMPARE_TYPE_KEYWORD = 2
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#43
-
COMPARE_TYPE_INT_EQ = 3
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#44
-
COMPARE_TYPE_INT_GTE = 4
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#45
-
COMPARE_TYPE_INT_GT = 5
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#46
-
COMPARE_TYPE_INT_LTE = 6
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#47
-
COMPARE_TYPE_INT_LT = 7
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#48
-
COMPARE_TYPE_BOOL = 8
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#49
-
COMPARE_TYPE_ARRAY = 9
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#50
-
COMPARE_TYPE_REGEX = 10
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#51
-
COMPARE_TYPE_WILDCARD = 11
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#52
Methods¶
-
public
OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::
getType
()¶ - Get the compare type of the query
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#61 Returns: int Since: 17.0.0
-
public
OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::
getField
()¶ - Get the field to apply query
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#70 Returns: string Since: 17.0.0
-
public
OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::
setField
($field)¶ - Set the field to apply query
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#80
Parameters: - $field (string)
Returns: Since: 17.0.0
-
public
OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::
getValues
()¶ - Get the all values to compare
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#89 Returns: array Since: 17.0.0
-
public
OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::
addValue
($value)¶ - Add value to compare (string)
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#99
Parameters: - $value (string)
Returns: Since: 17.0.0
-
public
OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::
addValueInt
($value)¶ - Add value to compare (int)
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#109
Parameters: - $value (int)
Returns: Since: 17.0.0
-
public
OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::
addValueArray
($value)¶ - Add value to compare (array)
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#119
Parameters: - $value (array)
Returns: Since: 17.0.0
-
public
OCP\FullTextSearch\Model\ISearchRequestSimpleQuery::
addValueBool
($value)¶ - Add value to compare (bool)
Source: lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php#129
Parameters: - $value (bool)
Returns: Since: 17.0.0