Namespace: OpenEdge.DataAdmin.Support
Class
SchemaPartitionMap
Parent classes:
Inherits: OpenEdge.DataAdmin.PartitionCollection
Implements: OpenEdge.DataAdmin.ISchemaPartitionMap

/* Copyright (c) 2011 by progress Software Corporation
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
Purpose:Collection of partititons for a table,index or field
Author(s):hdaniels




Method Summary
Options Name Purpose
LOGICAL AllocateGroups () /** Allocate all delayed partitions for all groups @return true if any partition was allocated */
LOGICAL AllocateGroups (character) /** Allocate TenantGroup partitions for the parent schema elelement @param AllocationState Specify state of partitions to allocate - All, Delayed or None @return true if any partition was allocated @throw IllegalArgumentError if not valid AllocationState */
LOGICAL AllocateTenants () /** Allocate all delayed partitions for all tenants Does not allocate partitions belonging to a TenantGroup @return true if any partition was allocated */
LOGICAL AllocateTenants (character) /** Allocate tenant partitions for the parent schema elelement Does not allocate partitions belonging to a TenantGroup @param AllocationState Specify state of partitions to allocate - All, Delayed or None @return true if any partition was allocated @throw IllegalArgumentError if not valid AllocationState */
LOGICAL CanFindGroup (character) /** Can find group partition @param groupName @return true if a partition is mapped to specified TenantGroup */
LOGICAL CanFindTenant (character) /** Can find tenant partition @param tenantName @return true if a partition is mapped to specified Tenant */
LOGICAL ContainsKey (ITenant) /** find tenant partition @param tenant ITenant @return true if a partition is mapped to specified ITenant */
LOGICAL ContainsKey (ITenantGroup) /** find tenant partition @param group ITenantGroup @return true if a partition is mapped to specified ITenantGroup */
LOGICAL ContainsValue (IPartition) /** find tenant partition @param group ITenantGroup @return partition if found in collection/map. unknown if not found */
OpenEdge.DataAdmin.Binding.IDataAdminContext CreateLocalContext ()
OpenEdge.DataAdmin.IPartition FindGroup (character) /** find group partition @param groupName TenantGroup @return IPartition if partition is mapped to specified group name, unknown if not found */
OpenEdge.DataAdmin.IPartition FindTenant (character) /** find tenant partition @param tenantName @return IPartition if partition is mapped to specified tenant name, unknown if not found */
OpenEdge.DataAdmin.IPartition Get (IDataAdminElement) /** Get tenant partition @param element IDataAdminElement @return IPartition if partition is mapped to specified IDataAdminElement, unknown if not found */
OpenEdge.DataAdmin.IPartition Get (ITenant) /** find tenant partition @param tenant ITenant @return IPartition if partition is mapped to specified ITenant, unknown if not found */
OpenEdge.DataAdmin.IPartition Get (ITenantGroup) /** Get group partition @param group ITenantGroup @return IPartition if partition is mapped to specified ITenantGroup, unknown if not found */

Constructor Summary
Options Name Purpose
SchemaPartitionMap (SchemaPartitionQuery)


Method Detail
Top

LOGICAL AllocateGroups ()

Purpose: Allocate all delayed partitions for all groups
Returns LOGICAL
true if any partition was allocated
Top

LOGICAL AllocateGroups (character)

Purpose: Allocate TenantGroup partitions for the parent schema elelement
@throw IllegalArgumentError if not valid AllocationState
Parameters:
pcAllocationState CHARACTER
Returns LOGICAL
true if any partition was allocated
Top

LOGICAL AllocateTenants ()

Purpose: Allocate all delayed partitions for all tenants
Does not allocate partitions belonging to a TenantGroup
Returns LOGICAL
true if any partition was allocated
Top

LOGICAL AllocateTenants (character)

Purpose: Allocate tenant partitions for the parent schema elelement
Does not allocate partitions belonging to a TenantGroup
@throw IllegalArgumentError if not valid AllocationState
Parameters:
pcAllocationState CHARACTER
Returns LOGICAL
true if any partition was allocated
Top

LOGICAL CanFindGroup (character)

Purpose: Can find group partition
Parameters:
pcGroup CHARACTER
Returns LOGICAL
true if a partition is mapped to specified TenantGroup
Top

LOGICAL CanFindTenant (character)

Purpose: Can find tenant partition
Parameters:
pcTenant CHARACTER
Returns LOGICAL
true if a partition is mapped to specified Tenant
Top

LOGICAL ContainsKey (ITenant)

Purpose: find tenant partition
Parameters:
tnt OpenEdge.DataAdmin.ITenant
Returns LOGICAL
true if a partition is mapped to specified ITenant
Top

LOGICAL ContainsKey (ITenantGroup)

Purpose: find tenant partition
Parameters:
grp OpenEdge.DataAdmin.ITenantGroup
Returns LOGICAL
true if a partition is mapped to specified ITenantGroup
Top

LOGICAL ContainsValue (IPartition)

Purpose: find tenant partition
Parameters:
pPartition OpenEdge.DataAdmin.IPartition
Returns LOGICAL
partition if found in collection/map. unknown if not found
Top

OpenEdge.DataAdmin.Binding.IDataAdminContext CreateLocalContext ()

Returns OpenEdge.DataAdmin.Binding.IDataAdminContext
Top

OpenEdge.DataAdmin.IPartition FindGroup (character)

Purpose: find group partition
Parameters:
pcGroup CHARACTER
Returns OpenEdge.DataAdmin.IPartition
IPartition if partition is mapped to specified group name, unknown if not found
Top

OpenEdge.DataAdmin.IPartition FindTenant (character)

Purpose: find tenant partition
Parameters:
pctenant CHARACTER
Returns OpenEdge.DataAdmin.IPartition
IPartition if partition is mapped to specified tenant name, unknown if not found
Top

OpenEdge.DataAdmin.IPartition Get (IDataAdminElement)

Purpose: Get tenant partition
Parameters:
elm OpenEdge.DataAdmin.IDataAdminElement
Returns OpenEdge.DataAdmin.IPartition
IPartition if partition is mapped to specified IDataAdminElement, unknown if not found
Top

OpenEdge.DataAdmin.IPartition Get (ITenant)

Purpose: find tenant partition
Parameters:
tnt OpenEdge.DataAdmin.ITenant
Returns OpenEdge.DataAdmin.IPartition
IPartition if partition is mapped to specified ITenant, unknown if not found
Top

OpenEdge.DataAdmin.IPartition Get (ITenantGroup)

Purpose: Get group partition
Parameters:
grp OpenEdge.DataAdmin.ITenantGroup
Returns OpenEdge.DataAdmin.IPartition
IPartition if partition is mapped to specified ITenantGroup, unknown if not found


Constructor Detail
Top

SchemaPartitionMap (SchemaPartitionQuery)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.Query.SchemaPartitionQuery


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15