Package com.sap.hadoop.windowing.query

Examples of com.sap.hadoop.windowing.query.TableInput


      void setParameter(String name, String value)
      {
        if (!processingOutputSpec )
        {
          name = name.toLowerCase();
          TableInput tableInput = qSpec.getTableIn();
         
          if (name.equals(Constants.INPUT_PATH) )
              tableInput.setInputPath(value);
          else if (name.equals(Constants.INPUT_KEY_CLASS) )
            tableInput.setKeyClass(value);
          else if (name.equals(Constants.INPUT_VALUE_CLASS) )
            tableInput.setValueClass(value);
          else if (name.equals(Constants.INPUT_INPUTFORMAT_CLASS) )
            tableInput.setInputFormatClass(value);
          else if (name.equals(Constants.INPUT_SERDE_CLASS) )
            tableInput.setSerDeClass(value);
          else if (name.equals(Constants.INPUT_RECORD_READER_CLASS) )
            tableInput.setWindowingInputClass(value);
          else
            tableInput.getSerDeProps().setProperty(name, value);
        }
        else
        {
          TableOutput tableOutput = qSpec.getTableOut();
          tableOutput.getSerDeProps().setProperty(name, value);
View Full Code Here

TOP

Related Classes of com.sap.hadoop.windowing.query.TableInput

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.