public class StreamFactory extends Object implements Serializable
Constructor and Description |
---|
StreamFactory() |
public StreamFactory withCollectionZkHost(String collectionName, String zkHost)
public String getDefaultCollection()
public StreamFactory withDefaultZkHost(String zkHost)
public String getDefaultZkHost()
public Map<String,Class<? extends Expressible>> getFunctionNames()
public StreamFactory withFunctionName(String functionName, Class<? extends Expressible> clazz)
public StreamExpressionParameter getOperand(StreamExpression expression, int parameterIndex)
public List<String> getValueOperands(StreamExpression expression)
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 boolean doesRepresentTypes(StreamExpression expression, Class... clazzes)
public int getIntOperand(StreamExpression expression, String paramName, Integer defaultValue) throws IOException
IOException
public boolean getBooleanOperand(StreamExpression expression, String paramName, Boolean defaultValue) throws IOException
IOException
public TupleStream constructStream(String expressionClause) throws IOException
IOException
public TupleStream constructStream(StreamExpression expression) throws IOException
IOException
public Metric constructMetric(String expressionClause) throws IOException
IOException
public Metric constructMetric(StreamExpression expression) throws IOException
IOException
public StreamComparator constructComparator(String comparatorString, Class comparatorType) throws IOException
IOException
public StreamEqualitor constructEqualitor(String equalitorString, Class equalitorType) throws IOException
IOException
public Metric constructOperation(String expressionClause) throws IOException
IOException
public StreamOperation constructOperation(StreamExpression expression) throws IOException
IOException
public StreamEvaluator constructEvaluator(String expressionClause) throws IOException
IOException
public StreamEvaluator constructEvaluator(StreamExpression expression) throws IOException
IOException
public boolean isStream(StreamExpression expression) throws IOException
IOException
public boolean isEvaluator(StreamExpression expression) throws IOException
IOException
public <T> T createInstance(Class<T> clazz, Class<?>[] paramTypes, Object[] params) throws IOException
IOException
public String getFunctionName(Class<? extends Expressible> clazz) throws IOException
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.