org.apache.sysds.parser

## Class PrintStatement

- java.lang.Object
- - org.apache.sysds.parser.Statement
  - - org.apache.sysds.parser.PrintStatement

- All Implemented Interfaces:
    ParseInfo

      public class PrintStatement
      extends Statement

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `PrintStatement.PRINTTYPE` The PRINTTYPE options are: PRINT, PRINTF, and STOP.

    - ### Nested classes/interfaces inherited from class org.apache.sysds.parser.Statement

      `Statement.PSCheckpointing, Statement.PSFrequency, Statement.PSModeType, Statement.PSScheme, Statement.PSUpdateType`

  - ### Field Summary

    - ### Fields inherited from class org.apache.sysds.parser.Statement

      `BOOLEAN_VALUE_TYPE, DOUBLE_VALUE_TYPE, FRAME_DATA_TYPE, GAGG_FN, GAGG_FN_CM, GAGG_FN_CM_ORDER, GAGG_FN_COUNT, GAGG_FN_MEAN, GAGG_FN_SUM, GAGG_FN_VARIANCE, GAGG_GROUPS, GAGG_NUM_GROUPS, GAGG_TARGET, GAGG_WEIGHTS, INT_VALUE_TYPE, MATRIX_DATA_TYPE, OUTPUTSTATEMENT, PS_AGGREGATION_FUN, PS_BATCH_SIZE, PS_CHECKPOINTING, PS_EPOCHS, PS_FEATURES, PS_FREQUENCY, PS_GRADIENTS, PS_HYPER_PARAMS, PS_LABELS, PS_MODE, PS_MODEL, PS_PARALLELISM, PS_SCHEME, PS_UPDATE_FUN, PS_UPDATE_TYPE, PS_VAL_FEATURES, PS_VAL_LABELS, SCALAR_DATA_TYPE, SEQ_FROM, SEQ_INCR, SEQ_TO, SETWD, SOURCE, STRING_VALUE_TYPE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PrintStatement(org.antlr.v4.runtime.ParserRuleContext ctx, String type, List<Expression> expressions, String filename)`
    `PrintStatement(org.antlr.v4.runtime.ParserRuleContext ctx, String type, String filename)`
    `PrintStatement(PrintStatement.PRINTTYPE type, List<Expression> expressions)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `controlStatement()`
    `List<Expression>` | `getExpressions()`
    `PrintStatement.PRINTTYPE` | `getType()`
    `VariableSet` | `initializebackwardLV(VariableSet lo)`
    `void` | `initializeforwardLV(VariableSet activeIn)`
    `Statement` | `rewriteStatement(String prefix)`
    `void` | `setExpressions(List<Expression> expressions)`
    `String` | `toString()`
    `VariableSet` | `variablesRead()`
    `VariableSet` | `variablesUpdated()`

    - ### Methods inherited from class org.apache.sysds.parser.Statement

      `getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFilename, getText, isEmptyNewLineStatement, printErrorLocation, printWarningLocation, raiseValidateError, raiseValidateError, setBeginColumn, setBeginLine, setCtxValues, setCtxValuesAndFilename, setEmptyNewLineStatement, setEndColumn, setEndLine, setFilename, setParseInfo, setText`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.apache.sysds.parser.ParseInfo

      `ctxAndFilenameToParseInfo`

- - ### Constructor Detail

    - #### PrintStatement

          public PrintStatement(org.antlr.v4.runtime.ParserRuleContext ctx,
                                String type,
                                String filename)

    - #### PrintStatement

          public PrintStatement(org.antlr.v4.runtime.ParserRuleContext ctx,
                                String type,
                                List<Expression> expressions,
                                String filename)

    - #### PrintStatement

          public PrintStatement(PrintStatement.PRINTTYPE type,
                                List<Expression> expressions)

  - ### Method Detail

    - #### rewriteStatement

          public Statement rewriteStatement(String prefix)

      Specified by:
        `rewriteStatement` in class `Statement`

    - #### initializeforwardLV

          public void initializeforwardLV(VariableSet activeIn)

      Specified by:
        `initializeforwardLV` in class `Statement`

    - #### initializebackwardLV

          public VariableSet initializebackwardLV(VariableSet lo)

      Specified by:
        `initializebackwardLV` in class `Statement`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### variablesRead

          public VariableSet variablesRead()

      Specified by:
        `variablesRead` in class `Statement`

    - #### variablesUpdated

          public VariableSet variablesUpdated()

      Specified by:
        `variablesUpdated` in class `Statement`

    - #### controlStatement

          public boolean controlStatement()

      Specified by:
        `controlStatement` in class `Statement`

    - #### getType

          public PrintStatement.PRINTTYPE getType()

    - #### getExpressions

          public List<Expression> getExpressions()

    - #### setExpressions

          public void setExpressions(List<Expression> expressions)

Copyright © 2020 The Apache Software Foundation. All rights reserved.