Examples of StreamType


Examples of com.odiago.flumebase.lang.StreamType

    mFormatSpec = fmt;
  }

  /** Initialize a stream symbol from the logical plan node for a CREATE STREAM operation. */
  public StreamSymbol(CreateStreamNode createNode) {
    super(createNode.getName(), new StreamType(createNode.getFieldsAsTypes()));
    mSource = createNode.getSource();
    mIsLocal = createNode.isLocal();
    mStreamType = createNode.getType();
    mFieldTypes = new ArrayList<TypedField>(createNode.getFields());
    mFormatSpec = createNode.getFormatSpec();
View Full Code Here

Examples of com.odiago.flumebase.lang.StreamType

          List<Type> outputTypes = new ArrayList<Type>();
          for (TypedField field : mFlumeInputFields) {
            outputTypes.add(field.getType());
          }
 
          Type streamType = new StreamType(outputTypes);
          StreamSymbol streamSym = new StreamSymbol(mFlumeNodeName, StreamSourceType.Node,
              streamType, mFlumeNodeName, true, mOutputFields, formatSpec);
          if (!streamSym.getEventParser().validate(streamSym)) {
            throw new IOException("Could not create valid stream for schema");
          }
View Full Code Here

Examples of com.odiago.flumebase.lang.StreamType

    List<Type> colTypes = new ArrayList<Type>();
    for (TypedField field : mFields) {
      colTypes.add(field.getType());
    }

    return new StreamType(colTypes);
  }
View Full Code Here

Examples of hudson.plugins.accurev.AccurevStream.StreamType

                            .convertAccurevTimestamp(streamStartTimeString);
                    try {
                        final Long streamNumber = streamNumberStr == null ? null : Long.valueOf(streamNumberStr);
                        final Long basisStreamNumber = basisStreamNumberStr == null ? null : Long
                                .valueOf(basisStreamNumberStr);
                        final StreamType streamType = AccurevStream.StreamType.parseStreamType(streamTypeStr);
                        final boolean isDynamic = streamIsDynamic != null && Boolean.parseBoolean(streamIsDynamic);
                        final AccurevStream stream = new AccurevStream(//
                                streamName, //
                                streamNumber, //
                                depot, //
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.