Class Plead_trainingBuilder

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

public class Plead_trainingBuilder extends Object implements Builder, SQL
Builder class for plead_training
  • Field Details

    • propertyOrder

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

      public static final Plead_trainingIntegratorBuilder __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 Plead_trainingProcessor<Plead_trainingBean> aArgs2BeanConverter
    • aRecord2BeanConverter

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

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

      public final Plead_trainingProcessor<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

    • Plead_trainingBuilder

      public Plead_trainingBuilder()
      Default constructor for builder for template plead_training
  • 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 Plead_trainingIntegratorBuilder getIntegrator()
      Generated by class org.openprovenance.prov.template.compiler.common.CompilerCommon, method generateCommonLib_auxin file CompilerCommon.java, at line 126
    • args2csv

      public Plead_trainingProcessor<String> args2csv()
      logPlead_training client side logging method
      Returns:
      Plead_trainingProcessor
    • bean2sql

      public Plead_trainingProcessor<String> bean2sql()
      logPlead_training client side logging method
      Returns:
      Plead_trainingProcessor
    • aArgs2RecordConverter

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

      public <T> Plead_trainingProcessor<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:
      Plead_trainingProcessor<T>
    • processorConverter

      public <T> ProcessorArgsInterface<T> processorConverter(Plead_trainingProcessor<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(Plead_trainingProcessor<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
    • logPlead_training_impure

      public void logPlead_training_impure(StringBuffer sb, Integer __pipeline, String __filename, Integer __training_dataset, Integer __organization, Integer __engineer, Integer __training, String __path, String __time, String __start, String __end)
      Logger method
      Parameters:
      sb - a StringBuffer
      __pipeline - The pipeline resulting from the training
      __filename - The pipeline filename resulting from the training
      __training_dataset - The dataset used in the training
      __organization - An organization aiming managing the ML pipeline
      __engineer - The engineer developing the ML pipeline
      __training - The activity of transforming the file
      __path - The actual path of the file
      __time - Time when the pipeline is created
      __start - Time when the transformation starts
      __end - Time when the transformation ends
    • logPlead_training

      public void logPlead_training(StringBuffer sb, Integer __pipeline, String __filename, Integer __training_dataset, Integer __organization, Integer __engineer, Integer __training, String __path, String __time, String __start, String __end)
      Logger method
      Parameters:
      sb - a StringBuffer
      __pipeline - The pipeline resulting from the training
      __filename - The pipeline filename resulting from the training
      __training_dataset - The dataset used in the training
      __organization - An organization aiming managing the ML pipeline
      __engineer - The engineer developing the ML pipeline
      __training - The activity of transforming the file
      __path - The actual path of the file
      __time - Time when the pipeline is created
      __start - Time when the transformation starts
      __end - Time when the transformation ends
    • __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 Plead_trainingBean toBean(Object[] record)
      Converter to bean of type Plead_trainingBean for template plead_training.
      Parameters:
      record - an array of objects
      Returns:
      a bean
    • toBean

      public static Plead_trainingBean toBean(Integer __pipeline, String __filename, Integer __training_dataset, Integer __organization, Integer __engineer, Integer __training, String __path, String __time, String __start, String __end)
    • newBean

      public Plead_trainingBean newBean()
    • examplar

      public static Plead_trainingBean examplar()
    • sqlTuple

      public void sqlTuple(StringBuffer sb, Integer __pipeline, String __filename, Integer __training_dataset, Integer __organization, Integer __engineer, Integer __training, String __path, String __time, String __start, String __end)