Class ControllerRequestURLBuilder
- java.lang.Object
-
- org.apache.pinot.spi.utils.builder.ControllerRequestURLBuilder
-
public class ControllerRequestURLBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
baseUrl
public static ControllerRequestURLBuilder baseUrl(String baseUrl)
-
getBaseUrl
public String getBaseUrl()
-
forDataFileUpload
public String forDataFileUpload()
-
forInstanceCreate
public String forInstanceCreate()
-
forInstanceUpdateTags
public String forInstanceUpdateTags(String instanceName, List<String> tags, boolean updateBrokerResource)
-
forInstanceList
public String forInstanceList()
-
forTenantCreate
public String forTenantCreate()
-
forUserCreate
public String forUserCreate()
-
forTenantGet
public String forTenantGet()
-
forUpdateUserConfig
public String forUpdateUserConfig(String username, String componentTypeStr, boolean passwordChanged)
-
forLiveBrokerTablesGet
public String forLiveBrokerTablesGet()
-
forTableCreate
public String forTableCreate()
-
forTableRebalance
public String forTableRebalance(String tableName, String tableType, boolean dryRun, boolean reassignInstances, boolean includeConsuming, boolean downtime, int minAvailableReplicas)
-
forTableReload
public String forTableReload(String tableName, TableType tableType, boolean forceDownload)
-
forTableReset
public String forTableReset(String tableNameWithType, @Nullable String targetInstance)
-
forSchemaValidate
public String forSchemaValidate()
-
forSchemaCreate
public String forSchemaCreate()
-
forTableConfigsCreate
public String forTableConfigsCreate()
-
forTableConfigsList
public String forTableConfigsList()
-
forTableConfigsValidate
public String forTableConfigsValidate()
-
forSegmentReload
public String forSegmentReload(String tableName, String segmentName, boolean forceDownload)
-
forSegmentReset
public String forSegmentReset(String tableNameWithType, String segmentName, String targetInstance)
-
forSegmentsMetadataFromServer
public String forSegmentsMetadataFromServer(String tableName, @Nullable String columns)
-
forListAllSegmentLineages
public String forListAllSegmentLineages(String tableName, String tableType)
-
forSegmentListAPI
public String forSegmentListAPI(String tableName, @Nullable String tableType, boolean excludeReplacedSegments)
-
forInstancePartitions
public String forInstancePartitions(String tableName, @Nullable InstancePartitionsType instancePartitionsType)
-
forInstanceAssign
public String forInstanceAssign(String tableName, @Nullable InstancePartitionsType instancePartitionsType, boolean dryRun)
-
forInstanceReplace
public String forInstanceReplace(String tableName, @Nullable InstancePartitionsType instancePartitionsType, String oldInstanceId, String newInstanceId)
-
forIngestFromFile
public String forIngestFromFile(String tableNameWithType, String batchConfigMapStr) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
forIngestFromFile
public String forIngestFromFile(String tableNameWithType, Map<String,String> batchConfigMap) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
forIngestFromURI
public String forIngestFromURI(String tableNameWithType, String batchConfigMapStr, String sourceURIStr) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
forIngestFromURI
public String forIngestFromURI(String tableNameWithType, Map<String,String> batchConfigMap, String sourceURIStr) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
forClusterConfigs
public String forClusterConfigs()
-
forAppConfigs
public String forAppConfigs()
-
forZkPut
public String forZkPut()
-
forUpsertTableHeapEstimation
public String forUpsertTableHeapEstimation(long cardinality, int primaryKeySize, int numPartitions)
-
-