public class BatchPoints extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BatchPoints.Builder
The Builder to create a new BatchPoints instance.
|
Modifier and Type | Method and Description |
---|---|
static BatchPoints.Builder |
database(String database)
Create a new BatchPoints build to create a new BatchPoints in a fluent manner.
|
InfluxDB.ConsistencyLevel |
getConsistency() |
String |
getDatabase() |
List<Point> |
getPoints() |
String |
getRetentionPolicy() |
Map<String,String> |
getTags() |
String |
lineProtocol()
calculate the lineprotocol for all Points.
|
BatchPoints |
point(Point point)
Add a single Point to these batches.
|
String |
toString() |
public static BatchPoints.Builder database(String database)
database
- the name of the Databasepublic String getDatabase()
public String getRetentionPolicy()
public BatchPoints point(Point point)
point
- public InfluxDB.ConsistencyLevel getConsistency()
public String lineProtocol()
Copyright © 2016. All rights reserved.