public class OracleTextQueryObject
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OracleTextQueryObject.Direction
This enumeration denotes how results will be sorted based on their score value
|
static class |
OracleTextQueryObject.ScoreRange
This enumeration denotes the if the results should be filtered based on a positive or negative score
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getDatatypeClass()
Get the data type used for filtering the key/value pairs matching the given OracleTextQueryObject
|
static OracleTextQueryObject |
getInstance(java.lang.String queryBody, int score, OracleTextQueryObject.ScoreRange scoreRange, OracleTextQueryObject.Direction orderByDirection)
Creates an OracleTextQueryObject from the specified query body and score settings
|
static OracleTextQueryObject |
getInstance(java.lang.String queryBody, int score, OracleTextQueryObject.ScoreRange scoreRange, OracleTextQueryObject.Direction orderByDirection, java.lang.String key) |
static OracleTextQueryObject |
getInstance(java.lang.String queryBody, int score, OracleTextQueryObject.ScoreRange scoreRange, OracleTextQueryObject.Direction orderByDirection, java.lang.String key, java.lang.Class dtClass) |
java.lang.String |
getKey()
Get the key used for filtering the key/value pairs matching the given OracleTextQueryObject
|
OracleTextQueryObject.Direction |
getOrderByDirection()
Get the direction order used for the Oracle Text query
|
java.lang.String |
getQueryBody()
Get the query body representing the value used for filtering the key/value pairs matching the given OracleTextQueryObject
|
int |
getScore()
Get the score ID used for the Oracle Text query
|
OracleTextQueryObject.ScoreRange |
getScoreRange()
Get the score range used for the Oracle Text query
|
void |
setDatatypeClass(java.lang.Class dtClass)
Set the data type used for filtering the key/value pairs matching the given OracleTextQueryObject
|
void |
setKey(java.lang.String key)
Set the key used for filtering the key/value pairs matching the given OracleTextQueryObject
|
public java.lang.Class getDatatypeClass()
public static OracleTextQueryObject getInstance(java.lang.String queryBody, int score, OracleTextQueryObject.ScoreRange scoreRange, OracleTextQueryObject.Direction orderByDirection)
public static OracleTextQueryObject getInstance(java.lang.String queryBody, int score, OracleTextQueryObject.ScoreRange scoreRange, OracleTextQueryObject.Direction orderByDirection, java.lang.String key)
public static OracleTextQueryObject getInstance(java.lang.String queryBody, int score, OracleTextQueryObject.ScoreRange scoreRange, OracleTextQueryObject.Direction orderByDirection, java.lang.String key, java.lang.Class dtClass)
public java.lang.String getKey()
public OracleTextQueryObject.Direction getOrderByDirection()
public java.lang.String getQueryBody()
public int getScore()
public OracleTextQueryObject.ScoreRange getScoreRange()
public void setDatatypeClass(java.lang.Class dtClass)
public void setKey(java.lang.String key)
Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.