Class Pg_capturingBuilder
java.lang.Object
org.openprovenance.prov.template.library.pg.client.common.Pg_capturingBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Pg_capturingIntegratorBuilderGenerated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateCommonLib_aux()static final int[]final Pg_capturingProcessor<String> Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aArgs2CsvConverter()final Pg_capturingProcessor<String> Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aSQLConverter2()Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aBeanConverter2()final ProcessorArgsInterface<String> Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aRecord2CsvConverter()final ProcessorArgsInterface<String> static final String[]Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateFieldCompulsoryInputs()static final String[]Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateFieldForeignTables()static final String[]static final String[]static final String[]Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateFieldPropertyOrder() -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for builder for template pg_capturing -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]static int[]Returns a converter from arguments to record<T> Tapply(Pg_capturingProcessor<T> processor, Object[] record) Apply methodargs2csv()logPg_capturing client side logging methodbean2sql()logPg_capturing client side logging methodstatic Pg_capturingBeanexamplar()String[]Null method for compositeString[]Null method for compositeGenerated by class org.openprovenance.prov.template.compiler.common.CompilerCommon, method generateCommonLib_auxin file CompilerCommon.java, at line 126getName()int[]getNodes()String[]Null method for compositeString[]Null method for compositevoidlogPg_capturing(StringBuffer sb, String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokemon_before, String __pokemon_type, Integer __species, Integer __strength, String __player_after, String __pokemon_after) Logger methodvoidlogPg_capturing_impure(StringBuffer sb, String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokemon_before, String __pokemon_type, Integer __species, Integer __strength, String __player_after, String __pokemon_after) Logger methodnewBean()<T> Pg_capturingProcessor<T> processorConverter(ProcessorArgsInterface<T> __processor) Returns a converter from Processor taking arguments to Processor taking record<T> ProcessorArgsInterface<T> processorConverter(Pg_capturingProcessor<T> processor) Returns a converter from Processor taking arguments to Processor taking recordrecord2csv(Object[] record) voidsqlTuple(StringBuffer sb, String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokemon_before, String __pokemon_type, Integer __species, Integer __strength, String __player_after, String __pokemon_after) Converter to bean of type Pg_capturingBean for template pg_capturing.static Pg_capturingBeantoBean(String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokemon_before, String __pokemon_type, Integer __species, Integer __strength, String __player_after, String __pokemon_after)
-
Field Details
-
propertyOrder
Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateFieldPropertyOrder() -
__integrator
Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateCommonLib_aux() -
outputs
-
inputs
-
compulsoryInputs
Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateFieldCompulsoryInputs() -
foreignTables
Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateFieldForeignTables() -
__successors
-
__successors2
-
__nodes
public static final int[] __nodes -
__relations
-
aArgs2BeanConverter
-
aRecord2BeanConverter
Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aBeanConverter2() -
aBean2SqlConverter
Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aSQLConverter2() -
aArgs2CsVConverter
Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aArgs2CsvConverter() -
aRecord2SqlConverter
-
aRecord2CsvConverter
Generated by method org.openprovenance.prov.template.compiler.common.CompilerCommon.generateField4aRecord2CsvConverter()
-
-
Constructor Details
-
Pg_capturingBuilder
public Pg_capturingBuilder()Default constructor for builder for template pg_capturing
-
-
Method Details
-
getName
-
getPropertyOrder
Null method for composite- Specified by:
getPropertyOrderin interfaceBuilder- Returns:
- the array of properties in order
-
getNodes
-
getSuccessors
- Specified by:
getSuccessorsin interfaceBuilder
-
getTypedSuccessors
- Specified by:
getTypedSuccessorsin interfaceBuilder
-
record2csv
- Specified by:
record2csvin interfaceBuilder
-
getSQLInsert
- Specified by:
getSQLInsertin interfaceSQL
-
getSQLInsertStatement
- Specified by:
getSQLInsertStatementin interfaceSQL
-
getIntegrator
Generated by class org.openprovenance.prov.template.compiler.common.CompilerCommon, method generateCommonLib_auxin file CompilerCommon.java, at line 126 -
args2csv
logPg_capturing client side logging method- Returns:
- Pg_capturingProcessor
-
bean2sql
logPg_capturing client side logging method- Returns:
- Pg_capturingProcessor
-
aArgs2RecordConverter
Returns a converter from arguments to record- Returns:
- Pg_capturingProcessor
-
processorConverter
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_capturingProcessor<T>
-
processorConverter
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
Apply method- Type Parameters:
T- type variable for the result of processor- Parameters:
processor- a transformer for this templaterecord- as an array of Objects- Returns:
- an object of type T
-
logPg_capturing_impure
public void logPg_capturing_impure(StringBuffer sb, String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokemon_before, String __pokemon_type, Integer __species, Integer __strength, String __player_after, String __pokemon_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__pokemon_before- The pokemon before__pokemon_type- The pokemon type__species- The species (as an integer)__strength- Stength (as an integer)__player_after- The player after__pokemon_after- The pokemon after
-
logPg_capturing
public void logPg_capturing(StringBuffer sb, String __operation, String __operation_type, Integer __time, String __player_before, String __player_type, String __team, String __pokemon_before, String __pokemon_type, Integer __species, Integer __strength, String __player_after, String __pokemon_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__pokemon_before- The pokemon before__pokemon_type- The pokemon type__species- The species (as an integer)__strength- Stength (as an integer)__player_after- The player after__pokemon_after- The pokemon after
-
__getNodes
public static int[] __getNodes() -
__getSuccessors
-
__getRelations
-
__getTypedSuccessors
-
__getAllTypes
-
getOutputs
-
getCompulsoryInputs
-
getInputs
-
toBean
Converter to bean of type Pg_capturingBean for template pg_capturing.- Parameters:
record- an array of objects- Returns:
- a bean
-
toBean
-
newBean
-
examplar
-
sqlTuple
-