class |
AbstractDatabaseMetaData |
Ancestor for sources that output the database meta-data.
|
class |
AbstractSimpleDbSource |
Ancestor for simple sources that use the database.
|
class |
AbstractSimpleSourceWithPropertiesUpdating |
Ancestor for simple sources that allow changing the object's properties
using variables.
|
class |
CombineArrays |
Combines the storage items representing arrays into a single array.
When not supplying an array class the type of the first array is used.
|
class |
CombineCollections |
class |
CombineStorage |
Outputs the expanded string generated from the specified combination expression (variables and storage placeholders).
|
class |
CombineVariables |
Outputs the expanded string generated from the specified combination expression.
|
class |
Counter |
Outputs the specified counter as spreadsheet, with two columns: 'Key' and 'Count'.
|
class |
CurrentFlow |
Outputs the current flow, i.e., itself.
|
class |
CurrentTime |
class |
DatabaseMetaData |
Outputs the meta-data of the current database connection.
|
class |
DumpStorage |
Outputs the storage names and the string representation of their associated values in the specified format.
|
class |
DumpVariables |
Outputs the variable names and their associated values in the specified format.
|
class |
FilenameGenerator |
Uses the specified filename generator to output a filename.
NB: Generators that require an object to pass through won't work with this source.
See also:
adams.flow.transformer.FilenameGenerator
Input/output:
- generates:
java.lang.String
|
class |
GetEnvironmentVariable |
Outputs the value of the specified environment variable.
|
class |
GetSystemProperty |
Outputs the value of the specified Java system property.
|
class |
HashSet |
Outputs the specified hashset as spreadsheet, with one column called 'Value' by default.
|
class |
HttpRequest |
Submits the (optional) form parameters to the specified URL and forwards the retrieved HTML as text.
Cookies can be retrieved and stored in internal storage, to be re-used with the next request.
|
class |
InputStreamGenerator |
Uses the specified generator to instantiate an input stream instance.
See also:
adams.flow.sink.CloseInputStream
Input/output:
- generates:
java.io.InputStream
|
class |
LookUp |
Forwards the value associated with the given key, using the specified lookup table from internal storage.
|
class |
LookUpTable |
Outputs the specified lookup table as spreadsheet, containing to columns: Key with the keys and Value with the associated values.
|
class |
MakeContainer |
Assembles a container with data obtained from either callable actors or storage items.
|
class |
MathExpression |
Evaluates a mathematical expression.
Variables are supported as well, e.g.: pow(X,@{exp}) with '@{exp}' being a variable available at execution time.
The following grammar is used for the expressions:
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] )
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
;
Notes:
- Variables are either all upper case letters (e.g., "ABC") or any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'.
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.
|
class |
MemoryUsage |
Outputs the memory usage.
The generated map has the following keys:
- init_heap
- max_heap
- used_heap
- committed_heap
- init_non_heap
- max_non_heap
- used_non_heap
- committed_non_heap
Input/output:
- generates:
java.util.Map
|
class |
ModuleInfo |
Outputs a spreadsheet with information about modules available.
|
class |
NewArray |
Generates a new array of the specified class with the given dimensions.
Dimensions are given as follows: [x], with x being the number of elements.
|
class |
NewCollection |
Generates a new (and empty) collection of the specified type.
|
class |
NewDOMDocument |
Creates a new DOM document, e.g., for assembling XML files.
|
class |
NewFlow |
Outputs the flow generated by the specified template.
|
class |
NewImage |
Generates an empty image with the specified dimensions (Type: RGB or ARBG).
|
class |
NewJsonStructure |
Generates an empty JSON data structure of the specified type.
|
class |
NewList |
Generates a list string based on the items produced by the generator and the specified separator.
|
class |
NewMap |
Generates a new java.util.Map object using the specified implementation class.
|
class |
NewMat5File |
Creates an empty Mat5File object.
|
class |
NewMat5Matrix |
Creates a new Matlab matrix.
|
class |
NewMat5Struct |
class |
NewProperties |
Generates a new Properties object.
|
class |
NewRemoteCommand |
Configures and forwards a remote command.
|
class |
NewReport |
Generates a new instance of the specified report class.
|
class |
NewSpreadSheet |
Generates an empty spreadsheet.
|
class |
NewTempFile |
class |
Null |
Dummy source, generates no output.
|
class |
OptionProducer |
Generates string output from the current flow using the specified option producer.
|
class |
OptionTraverser |
Traverses the options of the flow at run-time.
Used for debugging purposes.
|
class |
PDFNewDocument |
Creates an empty PDF document.
Needs to be finalized with adams.flow.sink.PDFCloseDocument.
The output of this source can be processed by adams.flow.transformer.PDFAppendDocument.
See also:
adams.flow.transformer.PDFAppendDocument
adams.flow.sink.PDFCloseDocument
Input/output:
- generates:
adams.flow.transformer.pdfproclet.PDFGenerator
|
class |
PyroSource |
Generates data using a Pyro4 call
For more information see:
https://pythonhosted.org/Pyro4/
https://github.com/irmen/Pyrolite
Input/output:
- generates:
java.lang.Object
|
class |
ReaderGenerator |
Uses the specified generator to instantiate a reader instance.
See also:
adams.flow.sink.CloseReader
Input/output:
- generates:
java.io.InputStream
|
class |
Rsync4jRsyncBinary |
Outputs the rsync binary used by the rsync4j library.
|
class |
Rsync4jSshBinary |
Outputs the ssh binary used by the rsync4j library.
|
class |
Socket |
Listens on the specified port for incoming data.
Can either output raw byte arrays or strings (using the specified encoding).
See also:
adams.flow.sink.Socket
Input/output:
- generates:
byte[]
|
class |
SpecifiedActor |
Outputs the actor identified by the actor path.
|
class |
SSHExec |
Runs a system command via ssh on a remote machine and broadcasts the generated output (stdout or stderr).
For more information see:
(2011).
|
class |
Start |
Outputs merely a NullToken.
|
class |
StorageValue |
Outputs the value associated with the specified name from temporary storage.
Does nothing if the storage value isn't present.
By supplying a cache name, the value can be obtained from a LRU cache instead of the regular storage.
|
class |
StringExpression |
Evaluates a string expression.
Variables are supported as well, e.g.: pow(X,@{exp}) with '@{exp}' being a variable available at execution time.
The following grammar is used for the expressions:
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] )
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
# array functions
| len[gth] ( array )
| get ( array , index )
;
Notes:
- Variables are either all upper case letters (e.g., "ABC") or any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- 'index' for function 'get' starts at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.
|
class |
Variable |
Outputs the string value of the specified variable.
Does nothing if the variable hasn't been set.
|
class |
WekaAssociatorSetup |
Outputs an instance of the specified associator.
|
class |
WekaClassifierSetup |
Outputs an instance of the specified classifier.
|
class |
WekaClustererSetup |
Outputs an instance of the specified clusterer.
|
class |
WekaDataGenerator |
Generates artificial data using a Weka data generator.
|
class |
WekaForecasterSetup |
Outputs a configured instance of a Weka Forecaster.
|
class |
WekaForecasting |
Uses a serialized model to perform predictions on the data being passed through.
The model can also be obtained from a callable actor, if the model file is pointing to a directory.
|
class |
WekaNewExperiment |
Generates a new ADAMS experiment setup.
|
class |
WekaNewInstances |
Generates an empty dataset, based on the attribute types and names specified.
Nominal attributes are generated with an empty set of labels.
|
class |
WekaPackageManagerAction |
Executes the specified action and forwards the generated output.
|
class |
ZipArrays |
Aligns the corresponding elements of the storage arrays into row-based arrays.
|