SearchRequestSimpleQuery

class OC\FullTextSearch\Model\SearchRequestSimpleQuery
Source:lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#40
Implements:OCP\FullTextSearch\Model\ISearchRequestSimpleQuery JsonSerializable

Properties

Methods

public OC\FullTextSearch\Model\SearchRequestSimpleQuery::__construct($field, $type)
SearchRequestQuery constructor.
Source:

lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#61

Parameters:
  • $field
  • $type
Since:

17.0.0

public OC\FullTextSearch\Model\SearchRequestSimpleQuery::getType()
Get the compare type of the query
Source:lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#73
Returns:int
Since:17.0.0
public OC\FullTextSearch\Model\SearchRequestSimpleQuery::getField()
Get the field to apply query
Source:lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#84
Returns:string
Since:17.0.0
public OC\FullTextSearch\Model\SearchRequestSimpleQuery::setField($field)
Set the field to apply query
Source:

lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#96

Parameters:
  • $field (string)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0

public OC\FullTextSearch\Model\SearchRequestSimpleQuery::getValues()
Get the value to compare (string)
Source:lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#109
Returns:array
Since:17.0.0
public OC\FullTextSearch\Model\SearchRequestSimpleQuery::addValue($value)
Add value to compare (string)
Source:

lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#122

Parameters:
  • $value (string)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0

public OC\FullTextSearch\Model\SearchRequestSimpleQuery::addValueInt($value)
Add value to compare (int)
Source:

lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#136

Parameters:
  • $value (int)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0

public OC\FullTextSearch\Model\SearchRequestSimpleQuery::addValueArray($value)
Add value to compare (array)
Source:

lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#150

Parameters:
  • $value (array)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0

public OC\FullTextSearch\Model\SearchRequestSimpleQuery::addValueBool($value)
Add value to compare (bool)
Source:

lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#164

Parameters:
  • $value (bool)
Returns:

\OCP\FullTextSearch\Model\ISearchRequestSimpleQuery

Since:

17.0.0

public OC\FullTextSearch\Model\SearchRequestSimpleQuery::jsonSerialize()
Source:lib/private/FullTextSearch/Model/SearchRequestSimpleQuery.php#175
Returns:array | mixed
Since:17.0.0