use of com.linkedin.pinot.core.query.utils.SimpleSegmentMetadata in project pinot by linkedin.
the class TableViewsTest method addOneSegment.
private void addOneSegment(String tableName) {
SegmentMetadata metadata = new SimpleSegmentMetadata(tableName);
pinotHelixResourceManager.addSegment(metadata, "someurl");
}
use of com.linkedin.pinot.core.query.utils.SimpleSegmentMetadata in project pinot by linkedin.
the class ControllerInstanceToggleTest method addOneOfflineSegment.
private void addOneOfflineSegment(String resourceName) {
final SegmentMetadata segmentMetadata = new SimpleSegmentMetadata(resourceName);
_pinotResourceManager.addSegment(segmentMetadata, "downloadUrl");
}
use of com.linkedin.pinot.core.query.utils.SimpleSegmentMetadata in project pinot by linkedin.
the class PinotResourceManagerTest method addOneSegment.
private void addOneSegment(String resourceName) {
final SegmentMetadata segmentMetadata = new SimpleSegmentMetadata(resourceName);
LOGGER.info("Trying to add IndexSegment : " + segmentMetadata.getName());
_pinotHelixResourceManager.addSegment(segmentMetadata, "downloadUrl");
}
use of com.linkedin.pinot.core.query.utils.SimpleSegmentMetadata in project pinot by linkedin.
the class ControllerSentinelTestV2 method addOneOfflineSegment.
private void addOneOfflineSegment(String resourceName) {
final SegmentMetadata segmentMetadata = new SimpleSegmentMetadata(resourceName);
_pinotResourceManager.addSegment(segmentMetadata, "downloadUrl");
}
use of com.linkedin.pinot.core.query.utils.SimpleSegmentMetadata in project pinot by linkedin.
the class HelixBrokerStarterTest method addOneSegment.
private void addOneSegment(String tableName) {
final SegmentMetadata segmentMetadata = new SimpleSegmentMetadata(tableName);
LOGGER.info("Trying to add IndexSegment : " + segmentMetadata.getName());
_pinotResourceManager.addSegment(segmentMetadata, "http://localhost:something");
}
Aggregations