Package org.teiid.dqp.internal.process
Class DQPConfiguration
- java.lang.Object
-
- org.teiid.dqp.internal.process.DQPConfiguration
-
- Direct Known Subclasses:
DQPCoreService,EmbeddedConfiguration
public class DQPConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_MAX_ACTIVE_PLANSstatic intDEFAULT_MAX_PROCESS_WORKERSstatic intDEFAULT_MAX_SOURCE_ROWSstatic intDEFAULT_MAX_STALENESS_SECONDSstatic intDEFAULT_USER_REQUEST_SOURCE_CONCURRENCY
-
Constructor Summary
Constructors Constructor Description DQPConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationValidatorgetAuthorizationValidator()intgetLobChunkSizeInKB()intgetMaxActivePlans()intgetMaxRowsFetchSize()intgetMaxSourceRows()Maximum source set rows to fetchintgetMaxThreads()PreParsergetPreParser()PropertiesgetProperties()Get the properties used to initialize the engineOptions.longgetQueryThresholdInMilli()intgetQueryThresholdInSecs()longgetQueryTimeout()TeiidExecutorgetTeiidExecutor()intgetTimeSliceInMilli()intgetUserRequestSourceConcurrency()booleanisDetectingChangeEvents()booleanisExceptionOnMaxSourceRows()Throw exception if there are more rows in the result set than specified in the MaxSourceRows setting.voidsetAuthorizationValidator(AuthorizationValidator authorizationValidator)voidsetDetectingChangeEvents(boolean detectingChangeEvents)voidsetExceptionOnMaxSourceRows(boolean exceptionOnMaxSourceRows)voidsetLobChunkSizeInKB(int lobChunkSizeInKB)voidsetMaxActivePlans(int maxActivePlans)voidsetMaxRowsFetchSize(int maxRowsFetchSize)voidsetMaxSourceRows(int maxSourceRows)voidsetMaxThreads(int maxThreads)voidsetPreParser(PreParser preParser)voidsetProperties(Properties properties)Set the properties used to initialize the engineOptionsvoidsetQueryThresholdInMilli(long queryThreshold)voidsetQueryThresholdInSecs(int queryThresholdInSecs)voidsetQueryTimeout(long queryTimeout)voidsetTimeSliceInMilli(int timeSliceInMilli)voidsetUserRequestSourceConcurrency(int userRequestSourceConcurrency)
-
-
-
Field Detail
-
DEFAULT_MAX_PROCESS_WORKERS
public static final int DEFAULT_MAX_PROCESS_WORKERS
- See Also:
- Constant Field Values
-
DEFAULT_MAX_SOURCE_ROWS
public static final int DEFAULT_MAX_SOURCE_ROWS
- See Also:
- Constant Field Values
-
DEFAULT_MAX_ACTIVE_PLANS
public static final int DEFAULT_MAX_ACTIVE_PLANS
- See Also:
- Constant Field Values
-
DEFAULT_USER_REQUEST_SOURCE_CONCURRENCY
public static final int DEFAULT_USER_REQUEST_SOURCE_CONCURRENCY
- See Also:
- Constant Field Values
-
DEFAULT_MAX_STALENESS_SECONDS
public static final int DEFAULT_MAX_STALENESS_SECONDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMaxActivePlans
public int getMaxActivePlans()
-
setMaxActivePlans
public void setMaxActivePlans(int maxActivePlans)
-
getUserRequestSourceConcurrency
public int getUserRequestSourceConcurrency()
-
setUserRequestSourceConcurrency
public void setUserRequestSourceConcurrency(int userRequestSourceConcurrency)
-
getMaxThreads
public int getMaxThreads()
-
setMaxThreads
public void setMaxThreads(int maxThreads)
-
getTimeSliceInMilli
public int getTimeSliceInMilli()
-
setTimeSliceInMilli
public void setTimeSliceInMilli(int timeSliceInMilli)
-
getMaxRowsFetchSize
public int getMaxRowsFetchSize()
-
setMaxRowsFetchSize
public void setMaxRowsFetchSize(int maxRowsFetchSize)
-
getLobChunkSizeInKB
public int getLobChunkSizeInKB()
-
setLobChunkSizeInKB
public void setLobChunkSizeInKB(int lobChunkSizeInKB)
-
getQueryThresholdInSecs
public int getQueryThresholdInSecs()
-
getQueryThresholdInMilli
public long getQueryThresholdInMilli()
-
setQueryThresholdInMilli
public void setQueryThresholdInMilli(long queryThreshold)
-
setQueryThresholdInSecs
public void setQueryThresholdInSecs(int queryThresholdInSecs)
-
isExceptionOnMaxSourceRows
public boolean isExceptionOnMaxSourceRows()
Throw exception if there are more rows in the result set than specified in the MaxSourceRows setting.- Returns:
-
setExceptionOnMaxSourceRows
public void setExceptionOnMaxSourceRows(boolean exceptionOnMaxSourceRows)
-
getMaxSourceRows
public int getMaxSourceRows()
Maximum source set rows to fetch- Returns:
-
setMaxSourceRows
public void setMaxSourceRows(int maxSourceRows)
-
getAuthorizationValidator
public AuthorizationValidator getAuthorizationValidator()
-
setAuthorizationValidator
public void setAuthorizationValidator(AuthorizationValidator authorizationValidator)
-
isDetectingChangeEvents
public boolean isDetectingChangeEvents()
-
setDetectingChangeEvents
public void setDetectingChangeEvents(boolean detectingChangeEvents)
-
setQueryTimeout
public void setQueryTimeout(long queryTimeout)
-
getQueryTimeout
public long getQueryTimeout()
-
getTeiidExecutor
public TeiidExecutor getTeiidExecutor()
-
setPreParser
public void setPreParser(PreParser preParser)
-
getPreParser
public PreParser getPreParser()
-
getProperties
public Properties getProperties()
Get the properties used to initialize the engineOptions. Defaults to the System properties.
-
setProperties
public void setProperties(Properties properties)
Set the properties used to initialize the engineOptions- Parameters:
properties-
-
-