1.8
User Documentation for MADlib
dt_utility.sql_in File Reference

Utility functions widely used in C4.5 and random forest. More...

Functions

text __regclass_to_text (regclass rc)
 
text __format (text fmt, text[] args)
 
text __format (text fmt, text arg1, text arg2, text arg3, text arg4)
 
text __format (text fmt, text arg1, text arg2, text arg3)
 
text __format (text fmt, text arg1, text arg2)
 
text __format (text fmt, text arg1)
 
void __assert (boolean condition, text reason)
 
boolean __table_exists (text full_table_name)
 
boolean __column_exists (text full_table_name, text column_name)
 
void __assert_table (text full_table_name, boolean existence)
 
text __strip_schema_name (text full_table_name)
 
text __get_schema_name (text full_table_name)
 
text __get_table_name (text full_table_name)
 
void __rename_table (text from_table, text to_table)
 
boolean __array_search (anyelement find, anyarray arr)
 
boolean __columns_in_table (text[] column_names, text table_name)
 
int __num_of_columns (text table_name)
 
text[] __csvstr_to_array (text csv_str)
 
boolean[] __array_elem_in (anyarray src_arr, anyarray tst_arr)
 
anyarray __array_sort (anyarray arr)
 

Detailed Description

Date
April 5, 2012

Function Documentation

boolean [] __array_elem_in ( anyarray  src_arr,
anyarray  tst_arr 
)
boolean __array_search ( anyelement  find,
anyarray  arr 
)
anyarray __array_sort ( anyarray  arr)
void __assert ( boolean  condition,
text  reason 
)
void __assert_table ( text  full_table_name,
boolean  existence 
)
boolean __column_exists ( text  full_table_name,
text  column_name 
)
boolean __columns_in_table ( text[]  column_names,
text  table_name 
)
text [] __csvstr_to_array ( text  csv_str)
text __format ( text  fmt,
text[]  args 
)
text __format ( text  fmt,
text  arg1,
text  arg2,
text  arg3,
text  arg4 
)
text __format ( text  fmt,
text  arg1,
text  arg2,
text  arg3 
)
text __format ( text  fmt,
text  arg1,
text  arg2 
)
text __format ( text  fmt,
text  arg1 
)
text __get_schema_name ( text  full_table_name)
text __get_table_name ( text  full_table_name)
int __num_of_columns ( text  table_name)
text __regclass_to_text ( regclass  rc)
void __rename_table ( text  from_table,
text  to_table 
)
text __strip_schema_name ( text  full_table_name)
boolean __table_exists ( text  full_table_name)