Class Pg_ballcollectingBuilder

java.lang.Object
org.openprovenance.prov.template.library.pg.client.common.Pg_ballcollectingBuilder
All Implemented Interfaces:
Builder, SQL

public class Pg_ballcollectingBuilder extends Object implements Builder, SQL
Builder class for pg_ballcollecting
  • Field Details

    • propertyOrder

      public static final String[] propertyOrder
      Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateFieldPropertyOrder()
    • __integrator

      public static final Pg_ballcollectingIntegratorBuilder __integrator
      Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateCommonLib_aux()
    • outputs

      public static final String[] outputs
    • inputs

      public static final String[] inputs
    • compulsoryInputs

      public static final String[] compulsoryInputs
      Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateFieldCompulsoryInputs()
    • foreignTables

      public static final String[] foreignTables
      Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateFieldForeignTables()
    • __successors

      public static final Map<Integer,int[]> __successors
    • __successors2

      public static final Map<Integer,int[]> __successors2
    • __nodes

      public static final int[] __nodes
    • __relations

      public static final Map<String,Map<String,int[]>> __relations
    • aArgs2BeanConverter

      public final Pg_ballcollectingProcessor<Pg_ballcollectingBean> aArgs2BeanConverter
    • aRecord2BeanConverter

      public final ProcessorArgsInterface<Pg_ballcollectingBean> aRecord2BeanConverter
      Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aBeanConverter2()
    • aBean2SqlConverter

      public final Pg_ballcollectingProcessor<String> aBean2SqlConverter
      Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aSQLConverter2()
    • aArgs2CsVConverter

      public final Pg_ballcollectingProcessor<String> aArgs2CsVConverter
      Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aArgs2CsvConverter()
    • aRecord2SqlConverter

      public final ProcessorArgsInterface<String> aRecord2SqlConverter
    • aRecord2CsvConverter

      public final ProcessorArgsInterface<String> aRecord2CsvConverter
      Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aRecord2CsvConverter()
  • Constructor Details

    • Pg_ballcollectingBuilder

      public Pg_ballcollectingBuilder()
      Default constructor for builder for template pg_ballcollecting
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface Builder
    • getPropertyOrder

      public String[] getPropertyOrder()
      Null method for composite
      Specified by:
      getPropertyOrder in interface Builder
      Returns:
      the array of properties in order
    • getNodes

      public int[] getNodes()
      Specified by:
      getNodes in interface Builder
    • getSuccessors

      public Map<Integer,int[]> getSuccessors()
      Specified by:
      getSuccessors in interface Builder
    • getTypedSuccessors

      public Map<Integer,int[]> getTypedSuccessors()
      Specified by:
      getTypedSuccessors in interface Builder
    • record2csv

      public ProcessorArgsInterface<String> record2csv(Object[] record)
      Specified by:
      record2csv in interface Builder
    • getSQLInsert

      public String getSQLInsert()
      Specified by:
      getSQLInsert in interface SQL
    • getSQLInsertStatement

      public String getSQLInsertStatement()
      Specified by:
      getSQLInsertStatement in interface SQL
    • getIntegrator

      public final Pg_ballcollectingIntegratorBuilder getIntegrator()
      Generated by class org.openprovenance.prov.template.compiler.common.CompilerCommon, method generateCommonLib_auxin file CompilerCommon.java, at line 126
    • args2csv

      public Pg_ballcollectingProcessor<String> args2csv()
      logPg_ballcollecting client side logging method
      Returns:
      Pg_ballcollectingProcessor
    • bean2sql

      public Pg_ballcollectingProcessor<String> bean2sql()
      logPg_ballcollecting client side logging method
      Returns:
      Pg_ballcollectingProcessor
    • aArgs2RecordConverter

      public Pg_ballcollectingProcessor<Object[]> aArgs2RecordConverter()
      Returns a converter from arguments to record
      Returns:
      Pg_ballcollectingProcessor
    • processorConverter

      public <T> Pg_ballcollectingProcessor<T> processorConverter(ProcessorArgsInterface<T> __processor)
      Returns a converter from Processor taking arguments to Processor taking record
      Type Parameters:
      T - type variable for the result of processor
      Parameters:
      __processor - a transformer for this template
      Returns:
      Pg_ballcollectingProcessor<T>
    • processorConverter

      public <T> ProcessorArgsInterface<T> processorConverter(Pg_ballcollectingProcessor<T> processor)
      Returns a converter from Processor taking arguments to Processor taking record
      Type Parameters:
      T - type variable for the result of processor
      Parameters:
      processor - a transformer for this template
      Returns:
      ProcessorArgsInterface<T>
    • apply

      public <T> T apply(Pg_ballcollectingProcessor<T> processor, Object[] record)
      Apply method
      Type Parameters:
      T - type variable for the result of processor
      Parameters:
      processor - a transformer for this template
      record - as an array of Objects
      Returns:
      an object of type T
    • logPg_ballcollecting_impure

      public void logPg_ballcollecting_impure(StringBuffer sb, String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokestop_before, String __pokestop_type, String __player_after, String __pokestop_after)
      Logger method
      Parameters:
      sb - a StringBuffer
      __operation - The operation identifier
      __operation_type - The operation type
      __time - The value of the time of the operation
      __player_before - The player before
      __player_type - The player type
      __team - The player team
      __pokestop_before - The pokestop before
      __pokestop_type - The pokestop type
      __player_after - The player after
      __pokestop_after - The pokestop after
    • logPg_ballcollecting

      public void logPg_ballcollecting(StringBuffer sb, String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokestop_before, String __pokestop_type, String __player_after, String __pokestop_after)
      Logger method
      Parameters:
      sb - a StringBuffer
      __operation - The operation identifier
      __operation_type - The operation type
      __time - The value of the time of the operation
      __player_before - The player before
      __player_type - The player type
      __team - The player team
      __pokestop_before - The pokestop before
      __pokestop_type - The pokestop type
      __player_after - The player after
      __pokestop_after - The pokestop after
    • __getNodes

      public static int[] __getNodes()
    • __getSuccessors

      public static Map<Integer,int[]> __getSuccessors()
    • __getRelations

      public static Map<String,Map<String,int[]>> __getRelations()
    • __getTypedSuccessors

      public static Map<Integer,int[]> __getTypedSuccessors()
    • __getAllTypes

      public static String[] __getAllTypes()
    • getOutputs

      public String[] getOutputs()
      Null method for composite
      Returns:
      null
    • getCompulsoryInputs

      public String[] getCompulsoryInputs()
      Null method for composite
      Returns:
      null
    • getInputs

      public String[] getInputs()
      Null method for composite
      Returns:
      null
    • toBean

      public Pg_ballcollectingBean toBean(Object[] record)
      Converter to bean of type Pg_ballcollectingBean for template pg_ballcollecting.
      Parameters:
      record - an array of objects
      Returns:
      a bean
    • toBean

      public static Pg_ballcollectingBean toBean(String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokestop_before, String __pokestop_type, String __player_after, String __pokestop_after)
    • newBean

      public Pg_ballcollectingBean newBean()
    • examplar

      public static Pg_ballcollectingBean examplar()
    • sqlTuple

      public void sqlTuple(StringBuffer sb, String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokestop_before, String __pokestop_type, String __player_after, String __pokestop_after)