All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.diirt.datasource.expression.SourceRateExpression Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (C) 2010-18 diirt developers. See COPYRIGHT.TXT
 * All rights reserved. Use is subject to license terms. See LICENSE.TXT
 */
package org.diirt.datasource.expression;

import org.diirt.datasource.ReadFunction;

/**
 * An expression to read at the rate of the source.
 * 

* Don't implement objects with this interface, use {@link SourceRateExpressionImpl}. * * @param type of the read payload * @author carcassi */ public interface SourceRateExpression extends SourceRateExpressionList { /** * Changes the name for this expression * * @param name new name * @return this */ public SourceRateExpression as(String name); /** * Name of the expression. * * @return the expression name */ public String getName(); /** * The function that calculates this expression. * * @return the expression function */ public ReadFunction getFunction(); /** * The implementation of this expression. * * @return the implementation */ public SourceRateExpressionImpl getSourceRateExpressionImpl(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy