public class DruidDataSource extends Object
Constructor and Description |
---|
DruidDataSource(String name,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
DruidDataSource |
addSegment(String partitionName,
io.druid.timeline.DataSegment dataSegment) |
DruidDataSource |
addSegments(Map<String,io.druid.timeline.DataSegment> partitionMap) |
boolean |
equals(Object o) |
String |
getName() |
Map<String,String> |
getProperties() |
Set<io.druid.timeline.DataSegment> |
getSegments() |
int |
hashCode() |
boolean |
isEmpty() |
DruidDataSource |
removePartition(String partitionName) |
ImmutableDruidDataSource |
toImmutableDruidDataSource() |
String |
toString() |
public String getName()
public Set<io.druid.timeline.DataSegment> getSegments()
public DruidDataSource addSegment(String partitionName, io.druid.timeline.DataSegment dataSegment)
public DruidDataSource addSegments(Map<String,io.druid.timeline.DataSegment> partitionMap)
public DruidDataSource removePartition(String partitionName)
public boolean isEmpty()
public ImmutableDruidDataSource toImmutableDruidDataSource()
Copyright © 2011–2015. All rights reserved.