net.shrine.monitor
Class TableToCSV

java.lang.Object
  extended by net.shrine.monitor.TableToCSV
All Implemented Interfaces:
groovy.lang.GroovyObject

public class TableToCSV
extends Object
implements groovy.lang.GroovyObject

Author:
Justin Quan

Constructor Summary
TableToCSV(Object config, groovy.sql.Sql sql)
           
 
Method Summary
 Object dumpSqlToCSV(String table)
           
 Object getConfig()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String name)
           
 groovy.sql.Sql getSql()
           
 Object invokeMethod(String name, Object args)
           
static void main(String[] args)
           
 void setConfig(Object value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(String name, Object value)
           
 void setSql(groovy.sql.Sql value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableToCSV

public TableToCSV(Object config,
                  groovy.sql.Sql sql)
Method Detail

getConfig

public Object getConfig()

setConfig

public void setConfig(Object value)

getSql

public groovy.sql.Sql getSql()

setSql

public void setSql(groovy.sql.Sql value)

dumpSqlToCSV

public Object dumpSqlToCSV(String table)

main

public static void main(String[] args)

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject


Copyright © 2011. All Rights Reserved.