public class StreamFactory extends Object implements Serializable
Constructor and Description |
---|
StreamFactory() |
public StreamFactory withCollectionZkHost(String collectionName, String zkHost)
public StreamFactory withStreamFunction(String streamFunction, Class clazz)
public StreamExpressionParameter getOperand(StreamExpression expression, int parameterIndex)
public String getValueOperand(StreamExpression expression, int parameterIndex)
public List<StreamExpressionNamedParameter> getNamedOperands(StreamExpression expression)
public StreamExpressionNamedParameter getNamedOperand(StreamExpression expression, String name)
public List<StreamExpression> getExpressionOperands(StreamExpression expression)
public List<StreamExpression> getExpressionOperands(StreamExpression expression, String functionName)
public List<StreamExpressionParameter> getOperandsOfType(StreamExpression expression, Class... clazzes)
public List<StreamExpression> getExpressionOperandsRepresentingTypes(StreamExpression expression, Class... clazzes)
public TupleStream constructStream(String expressionClause) throws IOException
IOException
public TupleStream constructStream(StreamExpression expression) throws IOException
IOException
public Comparator<Tuple> constructComparator(String comparatorString, Class comparatorType) throws IOException
IOException
public <T> T createInstance(Class<T> clazz, Class<?>[] paramTypes, Object[] params) throws IOException
IOException
public String getFunctionName(Class clazz) throws IOException
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.