public class PartitionTargets
extends Base
The schema that defines the PartitionTargets resource is defined below.
<xs:element name="PartitionTargets">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0">
<xs:annotation>
<xs:documentation>Total number of partition hosts</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ReplicationTarget" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ReplicationTarget">
<xs:complexType>
<xs:sequence>
<xs:element name="ObjectName" type="xs:string"/>
<xs:element name="TargetName" type="xs:string"/>
<xs:element name="Id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="ReplicationTargetColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="ObjectName"/>
<xs:enumeration value="TargetName"/>
<xs:enumeration value="Id"/>
</xs:restriction>
</xs:simpleType>
Constructor and Description |
---|
PartitionTargets() |
Modifier and Type | Method and Description |
---|---|
ReplicationTarget |
actionOnPartition(javax.servlet.http.HttpServletRequest request,
ReplicationTarget replicationTarget,
java.lang.String errorType)
Deprecated.
As of 1.1 replaced by
addReplicationTargetForPartition(HttpServletRequest, ReplicationTarget, String)
|
javax.ws.rs.core.Response |
addReplicationTargetForPartition(javax.servlet.http.HttpServletRequest request,
ReplicationTarget replicationTarget,
java.lang.String errorType)
POST /rest/PartitionTargets
|
void |
deletePartition(javax.servlet.http.HttpServletRequest request,
java.lang.String id,
java.lang.String errorType)
DELETE /rest/PartitionTargets/{id}
|
com.quantum.dxi.dao.types.PartitionTargets |
getPartitionTargets(javax.servlet.http.HttpServletRequest request,
int start,
int limit,
java.lang.String sortColumn,
java.lang.String sortDirection,
java.lang.String filterString,
java.lang.String errorType)
GET /rest/PartitionTargets
|
public com.quantum.dxi.dao.types.PartitionTargets getPartitionTargets(@Context javax.servlet.http.HttpServletRequest request, int start, int limit, java.lang.String sortColumn, java.lang.String sortDirection, java.lang.String filterString, java.lang.String errorType)
Get the VTL partition target configuration on the system.
Response Entity type: <xs:element name="PartitionTargets">
<xs:element name="PartitionTargets">
supports the table query parameters.
Column names for sorting and filtering are defined in <xs:element name="ReplicationTargetTypeColumnName">
public javax.ws.rs.core.Response addReplicationTargetForPartition(@Context javax.servlet.http.HttpServletRequest request, ReplicationTarget replicationTarget, java.lang.String errorType)
Add a new replication target host for a partition.
Request Entity type: <xs:element name="ReplicationTarget">
Response Entity type: <xs:element name="ReplicationTarget">
public ReplicationTarget actionOnPartition(@Context javax.servlet.http.HttpServletRequest request, ReplicationTarget replicationTarget, java.lang.String errorType)
addReplicationTargetForPartition(HttpServletRequest, ReplicationTarget, String)
Add a new replication target host for a partition.
Request Entity type: <xs:element name="ReplicationTarget">
Response Entity type: <xs:element name="ReplicationTarget">
public void deletePartition(@Context javax.servlet.http.HttpServletRequest request, java.lang.String id, java.lang.String errorType)
Delete the partition target identified by id
Copyright © 2011-2024 Quantum Corporation. All Rights Reserved.