org.teiid.dqp.internal.process
Class DQPConfiguration

java.lang.Object
  extended by org.teiid.dqp.internal.process.DQPConfiguration

public class DQPConfiguration
extends java.lang.Object


Field Summary
static int DEFAULT_MAX_ACTIVE_PLANS
           
static int DEFAULT_MAX_PROCESS_WORKERS
           
static int DEFAULT_MAX_SOURCE_ROWS
           
static int DEFAULT_USER_REQUEST_SOURCE_CONCURRENCY
           
 
Constructor Summary
DQPConfiguration()
           
 
Method Summary
 AuthorizationValidator getAuthorizationValidator()
           
 int getLobChunkSizeInKB()
           
 int getMaxActivePlans()
           
 int getMaxODBCLobSizeAllowed()
           
 int getMaxRowsFetchSize()
           
 int getMaxSourceRows()
          Maximum source set rows to fetch
 int getMaxThreads()
           
 CacheConfiguration getPreparedPlanCacheConfig()
           
 int getQueryThresholdInSecs()
           
 CacheConfiguration getResultsetCacheConfig()
           
 java.lang.String getRuntimeVersion()
           
 int getTimeSliceInMilli()
           
 boolean getUseDataRoles()
          Determine whether role checking is enabled on the server.
 int getUserRequestSourceConcurrency()
           
 boolean isDetectingChangeEvents()
           
 boolean isExceptionOnMaxSourceRows()
          Throw exception if there are more rows in the result set than specified in the MaxSourceRows setting.
 boolean isResultSetCacheEnabled()
           
 void setAuthorizationValidator(AuthorizationValidator authorizationValidator)
           
 void setDetectingChangeEvents(boolean detectingChangeEvents)
           
 void setExceptionOnMaxSourceRows(boolean exceptionOnMaxSourceRows)
           
 void setLobChunkSizeInKB(int lobChunkSizeInKB)
           
 void setMaxActivePlans(int maxActivePlans)
           
 void setMaxODBCLobSizeAllowed(int lobSize)
           
 void setMaxRowsFetchSize(int maxRowsFetchSize)
           
 void setMaxSourceRows(int maxSourceRows)
           
 void setMaxThreads(int maxThreads)
           
 void setPreparedPlanCacheConfig(CacheConfiguration preparedPlanCacheConfig)
           
 void setQueryThresholdInSecs(int queryThresholdInSecs)
           
 void setResultsetCacheConfig(CacheConfiguration config)
           
 void setTimeSliceInMilli(int timeSliceInMilli)
           
 void setUseDataRoles(boolean useEntitlements)
           
 void setUserRequestSourceConcurrency(int userRequestSourceConcurrency)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

DQPConfiguration

public DQPConfiguration()
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)

getResultsetCacheConfig

public CacheConfiguration getResultsetCacheConfig()

setResultsetCacheConfig

public void setResultsetCacheConfig(CacheConfiguration config)

isResultSetCacheEnabled

public boolean isResultSetCacheEnabled()

getUseDataRoles

public boolean getUseDataRoles()
Determine whether role checking is enabled on the server.

Returns:
true if server-side role checking is enabled.

setUseDataRoles

public void setUseDataRoles(boolean useEntitlements)

getQueryThresholdInSecs

public int getQueryThresholdInSecs()

setQueryThresholdInSecs

public void setQueryThresholdInSecs(int queryThresholdInSecs)

getRuntimeVersion

public java.lang.String getRuntimeVersion()

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)

getMaxODBCLobSizeAllowed

public int getMaxODBCLobSizeAllowed()

setMaxODBCLobSizeAllowed

public void setMaxODBCLobSizeAllowed(int lobSize)

getAuthorizationValidator

public AuthorizationValidator getAuthorizationValidator()

setAuthorizationValidator

public void setAuthorizationValidator(AuthorizationValidator authorizationValidator)

getPreparedPlanCacheConfig

public CacheConfiguration getPreparedPlanCacheConfig()

setPreparedPlanCacheConfig

public void setPreparedPlanCacheConfig(CacheConfiguration preparedPlanCacheConfig)

isDetectingChangeEvents

public boolean isDetectingChangeEvents()

setDetectingChangeEvents

public void setDetectingChangeEvents(boolean detectingChangeEvents)


Copyright © 2011. All Rights Reserved.