lib/connection/connection_config.js
function createParameters()
{
  var isNonNegativeInteger = Util.number.isNonNegativeInteger.bind(Util.number);
  var isPositiveInteger    = Util.number.isPositiveInteger.bind(Util.number);
  var isNonNegativeNumber  = Util.number.isNonNegative.bind(Util.number);

  return [
    {
      name         : PARAM_TIMEOUT,
      defaultValue : 90 * 1000,
      external     : true,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RESULT_PREFETCH,
      defaultValue : 2,
      external     : true,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RESULT_STREAM_INTERRUPTS,
      defaultValue : 3,
      validate     : isPositiveInteger
    },
    // for now we set chunk cache size to 1, which is same as 
    // disabling the chunk cache. Otherwise, cache will explode
    // memory when fetching large result set 
    {
      name         : PARAM_RESULT_CHUNK_CACHE_SIZE,
      defaultValue : 1,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RESULT_PROCESSING_BATCH_SIZE,
      defaultValue : 1000,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RESULT_PROCESSING_BATCH_DURATION,
      defaultValue : 100,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_ROW_STREAM_HIGH_WATER_MARK,
      defaultValue : 10,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RETRY_LARGE_RESULT_SET_MAX_NUM_RETRIES,
      defaultValue : 10,
      validate     : isNonNegativeInteger
    },
    {
      name         : PARAM_RETRY_LARGE_RESULT_SET_MAX_SLEEP_TIME,
      defaultValue : 16,
      validate     : isNonNegativeInteger
    },
    {
      name         : PARAM_RETRY_SF_MAX_NUM_RETRIES,
      defaultValue : 1000,
      validate     : isNonNegativeInteger
    },
    {
      name         : PARAM_RETRY_SF_STARTING_SLEEP_TIME,
      defaultValue : 0.25,
      validate     : isNonNegativeNumber
    },
    {
      name         : PARAM_RETRY_SF_MAX_SLEEP_TIME,
      defaultValue : 16,
      validate     : isNonNegativeNumber
    }
  ];
}
function createParameters()
{
  var isNonNegativeInteger = Util.number.isNonNegativeInteger.bind(Util.number);
  var isPositiveInteger    = Util.number.isPositiveInteger.bind(Util.number);
  var isNonNegativeNumber  = Util.number.isNonNegative.bind(Util.number);

  return [
    {
      name         : PARAM_TIMEOUT,
      defaultValue : 90 * 1000,
      external     : true,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RESULT_PREFETCH,
      defaultValue : 2,
      external     : true,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RESULT_STREAM_INTERRUPTS,
      defaultValue : 3,
      validate     : isPositiveInteger
    },
    // for now we set chunk cache size to 1, which is same as 
    // disabling the chunk cache. Otherwise, cache will explode
    // memory when fetching large result set 
    {
      name         : PARAM_RESULT_CHUNK_CACHE_SIZE,
      defaultValue : 1,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RESULT_PROCESSING_BATCH_SIZE,
      defaultValue : 1000,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RESULT_PROCESSING_BATCH_DURATION,
      defaultValue : 100,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_ROW_STREAM_HIGH_WATER_MARK,
      defaultValue : 10,
      validate     : isPositiveInteger
    },
    {
      name         : PARAM_RETRY_LARGE_RESULT_SET_MAX_NUM_RETRIES,
      defaultValue : 10,
      validate     : isNonNegativeInteger
    },
    {
      name         : PARAM_RETRY_LARGE_RESULT_SET_MAX_SLEEP_TIME,
      defaultValue : 16,
      validate     : isNonNegativeInteger
    },
    {
      name         : PARAM_RETRY_SF_MAX_NUM_RETRIES,
      defaultValue : 1000,
      validate     : isNonNegativeInteger
    },
    {
      name         : PARAM_RETRY_SF_STARTING_SLEEP_TIME,
      defaultValue : 0.25,
      validate     : isNonNegativeNumber
    },
    {
      name         : PARAM_RETRY_SF_MAX_SLEEP_TIME,
      defaultValue : 16,
      validate     : isNonNegativeNumber
    }
  ];
}
function createParameters ( ) { var isNonNegativeInteger = Util . number . isNonNegativeInteger . bind ( Util . number ) ; var isPositiveInteger = Util . number . isPositiveInteger . bind ( Util . number ) ; var isNonNegativeNumber = Util . number . isNonNegative . bind ( Util . number ) ; return [ { name : PARAM_TIMEOUT , defaultValue : 90 * 1000 , external : true , validate : isPositiveInteger } , { name : PARAM_RESULT_PREFETCH , defaultValue : 2 , external : true , validate : isPositiveInteger } , { name : PARAM_RESULT_STREAM_INTERRUPTS , defaultValue : 3 , validate : isPositiveInteger } , // for now we set chunk cache size to 1, which is same as  // disabling the chunk cache. Otherwise, cache will explode // memory when fetching large result set  { name : PARAM_RESULT_CHUNK_CACHE_SIZE , defaultValue : 1 , validate : isPositiveInteger } , { name : PARAM_RESULT_PROCESSING_BATCH_SIZE , defaultValue : 1000 , validate : isPositiveInteger } , { name : PARAM_RESULT_PROCESSING_BATCH_DURATION , defaultValue : 100 , validate : isPositiveInteger } , { name : PARAM_ROW_STREAM_HIGH_WATER_MARK , defaultValue : 10 , validate : isPositiveInteger } , { name : PARAM_RETRY_LARGE_RESULT_SET_MAX_NUM_RETRIES , defaultValue : 10 , validate : isNonNegativeInteger } , { name : PARAM_RETRY_LARGE_RESULT_SET_MAX_SLEEP_TIME , defaultValue : 16 , validate : isNonNegativeInteger } , { name : PARAM_RETRY_SF_MAX_NUM_RETRIES , defaultValue : 1000 , validate : isNonNegativeInteger } , { name : PARAM_RETRY_SF_STARTING_SLEEP_TIME , defaultValue : 0.25 , validate : isNonNegativeNumber } , { name : PARAM_RETRY_SF_MAX_SLEEP_TIME , defaultValue : 16 , validate : isNonNegativeNumber } ] ; }
Creates the list of known parameters. If a parameter is marked as external,
its value can be overridden by adding the appropriate name-value mapping to
the ConnectionConfig options.

@returns {Object[]}
Creates the list of known parameters . If a parameter is marked as external its value can be overridden by adding the appropriate name - value mapping to the ConnectionConfig options .