OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TableFunctionsFactory_util Namespace Reference

Functions

def tostring
 
def find_comma
 

Variables

string OutputBufferSizeTypes
 
string SupportedAnnotations
 
string SupportedFunctionAnnotations
 
tuple translate_map
 
tuple Signature
 

Function Documentation

def TableFunctionsFactory_util.find_comma (   line)

Definition at line 46 of file TableFunctionsFactory_util.py.

46 
47 def find_comma(line):
48  d = 0
49  for i, c in enumerate(line):
50  if c in '<([{':
51  d += 1
52  elif c in '>)]{':
53  d -= 1
54  elif d == 0 and c == ',':
55  return i
56  return -1
def TableFunctionsFactory_util.tostring (   obj)

Definition at line 42 of file TableFunctionsFactory_util.py.

42 
43 def tostring(obj):
44  return obj.tostring()
45 

Variable Documentation

string TableFunctionsFactory_util.OutputBufferSizeTypes
Initial value:
1 = '''
2 kConstant, kUserSpecifiedConstantParameter, kUserSpecifiedRowMultiplier,
3 kTableFunctionSpecifiedParameter, kPreFlightParameter
4 '''

Definition at line 4 of file TableFunctionsFactory_util.py.

tuple TableFunctionsFactory_util.Signature
Initial value:
1 = namedtuple('Signature', ['name', 'inputs', 'outputs',
2  'input_annotations', 'output_annotations',
3  'function_annotations', 'sizer'])

Definition at line 37 of file TableFunctionsFactory_util.py.

string TableFunctionsFactory_util.SupportedAnnotations
Initial value:
1 = '''
2 input_id, name, fields, require, range, default
3 '''

Definition at line 9 of file TableFunctionsFactory_util.py.

string TableFunctionsFactory_util.SupportedFunctionAnnotations
Initial value:
1 = '''
2 filter_table_function_transpose, uses_manager
3 '''

Definition at line 14 of file TableFunctionsFactory_util.py.

tuple TableFunctionsFactory_util.translate_map
Initial value:
1 = dict(
2  Constant='kConstant',
3  PreFlight='kPreFlightParameter',
4  ConstantParameter='kUserSpecifiedConstantParameter',
5  RowMultiplier='kUserSpecifiedRowMultiplier',
6  UserSpecifiedConstantParameter='kUserSpecifiedConstantParameter',
7  UserSpecifiedRowMultiplier='kUserSpecifiedRowMultiplier',
8  TableFunctionSpecifiedParameter='kTableFunctionSpecifiedParameter',
9  short='Int16',
10  int='Int32',
11  long='Int64',
12 )

Definition at line 18 of file TableFunctionsFactory_util.py.