public class QueryExpansionCommand extends BaseSearchCommand implements com.exalead.util.Checkable, java.io.Serializable
BaseSearchCommand.CustomRunnerFactoryParams, BaseSearchCommand.Transformer<T>, BaseSearchCommand.Visitor
customRunnerFactoryClassId, customRunnerFactoryParams, DEFAULT_MAX_CONCURRENT_QUERIES, DEFAULT_MAX_WAITING_QUERIES, defaultLogic, defaultTarget, maxConcurrentQueries, maxWaitingQueries, targetReporting
base, DEFAULT_BASE
Constructor and Description |
---|
QueryExpansionCommand() |
QueryExpansionCommand(QueryExpansionCommand o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(BaseSearchCommand.Transformer<T> transformer,
T[] t) |
void |
accept(BaseSearchCommand.Visitor visitor) |
<T> T |
accept(Command.Transformer<T> transformer,
T[] t) |
void |
accept(Command.Visitor visitor) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this QueryExpansionCommand.
|
static QueryExpansionCommand |
fromString(java.lang.String s)
String representation of this QueryExpansionCommand.
|
QueryExpansionCommand |
makeCopy()
Creates and returns a deep copy of this QueryExpansionCommand.
|
static QueryExpansionCommand |
readFrom(java.io.InputStream is)
Read this QueryExpansionCommand from an XML fragment.
|
java.lang.String |
toString()
String representation of this QueryExpansionCommand.
|
QueryExpansionCommand |
withBase(java.lang.String base) |
QueryExpansionCommand |
withCustomRunnerFactoryClassId(java.lang.String customRunnerFactoryClassId)
Deprecated.
|
QueryExpansionCommand |
withCustomRunnerFactoryParams(java.util.Collection<KeyValue> __values) |
QueryExpansionCommand |
withCustomRunnerFactoryParams(KeyValue... __values)
Deprecated.
|
QueryExpansionCommand |
withDefaultLogic(java.lang.String defaultLogic) |
QueryExpansionCommand |
withDefaultTarget(java.lang.String defaultTarget) |
QueryExpansionCommand |
withMaxConcurrentQueries(int maxConcurrentQueries) |
QueryExpansionCommand |
withMaxConcurrentQueries(java.lang.Integer maxConcurrentQueries) |
QueryExpansionCommand |
withMaxWaitingQueries(int maxWaitingQueries) |
QueryExpansionCommand |
withMaxWaitingQueries(java.lang.Integer maxWaitingQueries) |
QueryExpansionCommand |
withTargetReporting(java.lang.String targetReporting) |
void |
writeTo(java.io.OutputStream os)
Write this QueryExpansionCommand as an XML fragment
|
getCustomRunnerFactoryClassId, getCustomRunnerFactoryParams, getDefaultLogic, getDefaultTarget, getMaxConcurrentQueries, getMaxWaitingQueries, getTargetReporting, setCustomRunnerFactoryClassId, setCustomRunnerFactoryParams, setDefaultLogic, setDefaultTarget, setMaxConcurrentQueries, setMaxWaitingQueries, setTargetReporting, withCustomRunnerFactoryParams
public QueryExpansionCommand()
public QueryExpansionCommand(QueryExpansionCommand o)
public QueryExpansionCommand withDefaultLogic(java.lang.String defaultLogic)
withDefaultLogic
in class BaseSearchCommand
public QueryExpansionCommand withDefaultTarget(java.lang.String defaultTarget)
withDefaultTarget
in class BaseSearchCommand
public QueryExpansionCommand withTargetReporting(java.lang.String targetReporting)
withTargetReporting
in class BaseSearchCommand
@Deprecated public QueryExpansionCommand withCustomRunnerFactoryClassId(java.lang.String customRunnerFactoryClassId)
withCustomRunnerFactoryClassId
in class BaseSearchCommand
@Deprecated public QueryExpansionCommand withCustomRunnerFactoryParams(KeyValue... __values)
withCustomRunnerFactoryParams
in class BaseSearchCommand
public QueryExpansionCommand withCustomRunnerFactoryParams(java.util.Collection<KeyValue> __values)
withCustomRunnerFactoryParams
in class BaseSearchCommand
public QueryExpansionCommand withMaxConcurrentQueries(int maxConcurrentQueries)
withMaxConcurrentQueries
in class BaseSearchCommand
public QueryExpansionCommand withMaxConcurrentQueries(java.lang.Integer maxConcurrentQueries)
withMaxConcurrentQueries
in class BaseSearchCommand
public QueryExpansionCommand withMaxWaitingQueries(int maxWaitingQueries)
withMaxWaitingQueries
in class BaseSearchCommand
public QueryExpansionCommand withMaxWaitingQueries(java.lang.Integer maxWaitingQueries)
withMaxWaitingQueries
in class BaseSearchCommand
public QueryExpansionCommand withBase(java.lang.String base)
withBase
in class BaseSearchCommand
public QueryExpansionCommand makeCopy()
makeCopy
in class BaseSearchCommand
public static QueryExpansionCommand readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class BaseSearchCommand
javax.xml.bind.JAXBException
java.io.IOException
public static QueryExpansionCommand fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class BaseSearchCommand
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class BaseSearchCommand
com.exalead.util.TypedException
public void accept(BaseSearchCommand.Visitor visitor) throws com.exalead.util.TypedException
accept
in class BaseSearchCommand
com.exalead.util.TypedException
public void accept(Command.Visitor visitor) throws com.exalead.util.TypedException
public <T> T accept(BaseSearchCommand.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class BaseSearchCommand
com.exalead.util.TypedException
public <T> T accept(Command.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.