Class TrainingQuery
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.TrainingQuery
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class TrainingQuery
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Training query details.
-
Constructor Summary
Constructors Constructor Description TrainingQuery()
-
Method Summary
Modifier and Type Method Description List<TrainingExample>
getExamples()
Gets the examples.String
getFilter()
Gets the filter.String
getNaturalLanguageQuery()
Gets the naturalLanguageQuery.String
getQueryId()
Gets the queryId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
TrainingQuery
public TrainingQuery()
-
-
Method Details
-
getQueryId
Gets the queryId.The query ID associated with the training query.
- Returns:
- the queryId
-
getNaturalLanguageQuery
Gets the naturalLanguageQuery.The natural text query for the training query.
- Returns:
- the naturalLanguageQuery
-
getFilter
Gets the filter.The filter used on the collection before the **natural_language_query** is applied.
- Returns:
- the filter
-
getExamples
Gets the examples.Array of training examples.
- Returns:
- the examples
-