Package org.influxdb.dto

Examples of org.influxdb.dto.Serie


    String name = (alias != null) ? alias : realName;
    Object value = stateToObject(item.getState());
    logger.trace("storing {} in influxdb {}", name, value);

    // For now time is calculated by influxdb, may be this should be configurable?
    Serie serie = new Serie.Builder(name)
        .columns(VALUE_COLUMN_NAME)
        .values(value)
        .build();
    // serie.setColumns(new String[] {"time", VALUE_COLUMN_NAME});
    // Object[] point = new Object[] {System.currentTimeMillis(), value};
View Full Code Here

TOP

Related Classes of org.influxdb.dto.Serie

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.