|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Query
Structure for a user query. Allows various systems to specify different representations of queries such as:
Method Summary | |
---|---|
Set<Keyword> |
getKeywords()
Returns the keywords for this Query . |
String |
getNaturalLanguage()
Returns the natural language representation for this Query . |
Set<String> |
getRequiredEntityTypes()
Returns the required entity types for this Query . |
String |
getStructuredQuery()
Returns the structured data query for this Query . |
Method Detail |
---|
String getNaturalLanguage()
Query
.
This could be a question, a command, or just traditional keywords.
String
representation of this Query
,
or null
if it has no natural language representation.Set<Keyword> getKeywords()
Query
.
Set
of Keyword
s representing this
Query
, or null
if it has no keyword
representation.Set<String> getRequiredEntityTypes()
Query
.
Set
of mandatory entity types representing this
Query
, or null
if it has no required entity
types representation.String getStructuredQuery()
Query
.
String
-based structured query representing this
Query
, or null
if it has no structured query
representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |