Namespace: OpenEdge.DataAdmin.DataAccess
Class
PartitionData
Parent classes:
Inherits: OpenEdge.DataAdmin.DataAccess.DataAccess
Implements: OpenEdge.DataAdmin.DataAccess.IDataAccess, OpenEdge.DataAdmin.Lang.IQueryMap

/* Copyright (c) 2010-2012 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.
File:PartitionData
Author(s):hdaniels
Notes:The partitions are indexed from object and not from
tenant or area so we always access through the objects.
- If the filter has a unique tenant and/or area expression
these key values are added to the storageobject in the fill query.
- If the filter has a non-unique tenant and/or area expression
the buffers with queries are added to the fill query.
/* define buffer b_Area for dictdb._Area.




Method Summary
Options Name Purpose
LOGICAL CheckQuery (QueryString, character)
CHARACTER CheckQueryObjectType (QueryString) /* returns blank if no type reference in query ? if not unique (ambiguous or not found) Table, Index or Field */
CHARACTER ColumnSource (character) /* This is the call back for the QueryString parsing. There is currently no mapping, but we override it in order to return the ttPartition's parent keys to the Query. This allows us to extract the expression later. Because it is added as parent (i.e _tenant) we can also extract the actual query fields without these. */
OpenEdge.DataAdmin.DataSource.IDataSource CreateReadSource (character)
FetchData (IFetchRequest)
FillData (IFetchRequest)
FillGroupNameRequest (handle)
FillPartitionIdRequest (handle, IFetchRequest)
FillPartitions (IFetchRequest)
INTEGER FillSchemaElementPartitions (PartitionDataSource, handle, ITableRequest, log)
FillTablePartitionRequest (handle)
CHARACTER FindObjectType (character)
OpenEdge.DataAdmin.DataSource.PartitionDataSource GetFieldJoinSource (character, character, character)
OpenEdge.DataAdmin.DataSource.FieldPartitionDataSource GetFieldSource ()
OpenEdge.DataAdmin.DataSource.PartitionDataSource GetIndexJoinSource (character, character, character)
OpenEdge.DataAdmin.DataSource.IndexPartitionDataSource GetIndexSource ()
OpenEdge.DataAdmin.DataSource.PartitionDataSource GetNewFieldSource ()
OpenEdge.DataAdmin.DataSource.PartitionDataSource GetNewIndexSource ()
OpenEdge.DataAdmin.DataSource.PartitionDataSource GetNewTableSource ()
OpenEdge.DataAdmin.DataSource.PartitionDataSource GetSource ()
OpenEdge.DataAdmin.DataSource.PartitionDataSource GetTableJoinSource (character, character, character)
OpenEdge.DataAdmin.DataSource.TablePartitionDataSource GetTableSource ()
OpenEdge.DataAdmin.Message.ISaveRequest SaveData (ISaveRequest)

Property Summary
Options Name Purpose
CHARACTER BaseQuery


Method Detail
Top

LOGICAL CheckQuery (QueryString, character)

Parameters:
pQueryStr OpenEdge.DataAdmin.Lang.QueryString
pcTable CHARACTER
Returns LOGICAL
Top

CHARACTER CheckQueryObjectType (QueryString)

/* returns blank if no type reference in query
? if not unique (ambiguous or not found)
Table, Index or Field
Parameters:
pQueryStr OpenEdge.DataAdmin.Lang.QueryString
Returns CHARACTER
Top

CHARACTER ColumnSource (character)

/* This is the call back for the QueryString parsing. There is currently no mapping, but we override it in
order to return the ttPartition's parent keys to the Query. This allows us to extract the expression later.
Because it is added as parent (i.e _tenant) we can also extract the actual query fields without these.
Parameters:
pcColumn CHARACTER
Returns CHARACTER
Top

OpenEdge.DataAdmin.DataSource.IDataSource CreateReadSource (character)

Parameters:
pcName CHARACTER
Returns OpenEdge.DataAdmin.DataSource.IDataSource
Top

FetchData (IFetchRequest)

Parameters:
msg OpenEdge.DataAdmin.Message.IFetchRequest
Top

FillData (IFetchRequest)

Parameters:
pMsg OpenEdge.DataAdmin.Message.IFetchRequest
Top

FillGroupNameRequest (handle)

Parameters:
phBuffer HANDLE
Top

FillPartitionIdRequest (handle, IFetchRequest)

Parameters:
phPartitionIdBuffer HANDLE
pMsg OpenEdge.DataAdmin.Message.IFetchRequest
Top

FillPartitions (IFetchRequest)

Parameters:
pMsg OpenEdge.DataAdmin.Message.IFetchRequest
Top

INTEGER FillSchemaElementPartitions (PartitionDataSource, handle, ITableRequest, log)

Parameters:
psrc OpenEdge.DataAdmin.DataSource.PartitionDataSource
phBuffer HANDLE
preq OpenEdge.DataAdmin.Message.ITableRequest
plsim LOGICAL
Returns INTEGER
Top

FillTablePartitionRequest (handle)

Parameters:
phTableRequestBuffer HANDLE
Top

CHARACTER FindObjectType (character)

Parameters:
pFind CHARACTER
Returns CHARACTER
Top

OpenEdge.DataAdmin.DataSource.PartitionDataSource GetFieldJoinSource (character, character, character)

Parameters:
pcJoinTables CHARACTER
pcJoinPhysTables CHARACTER
pcJoinQueries CHARACTER
Returns OpenEdge.DataAdmin.DataSource.PartitionDataSource
Top

OpenEdge.DataAdmin.DataSource.FieldPartitionDataSource GetFieldSource ()

Returns OpenEdge.DataAdmin.DataSource.FieldPartitionDataSource
Top

OpenEdge.DataAdmin.DataSource.PartitionDataSource GetIndexJoinSource (character, character, character)

Parameters:
pcJoinTables CHARACTER
pcJoinPhysTables CHARACTER
pcJoinQueries CHARACTER
Returns OpenEdge.DataAdmin.DataSource.PartitionDataSource
Top

OpenEdge.DataAdmin.DataSource.IndexPartitionDataSource GetIndexSource ()

Returns OpenEdge.DataAdmin.DataSource.IndexPartitionDataSource
Top

OpenEdge.DataAdmin.DataSource.PartitionDataSource GetNewFieldSource ()

Returns OpenEdge.DataAdmin.DataSource.PartitionDataSource
Top

OpenEdge.DataAdmin.DataSource.PartitionDataSource GetNewIndexSource ()

Returns OpenEdge.DataAdmin.DataSource.PartitionDataSource
Top

OpenEdge.DataAdmin.DataSource.PartitionDataSource GetNewTableSource ()

Returns OpenEdge.DataAdmin.DataSource.PartitionDataSource
Top

OpenEdge.DataAdmin.DataSource.PartitionDataSource GetSource ()

Returns OpenEdge.DataAdmin.DataSource.PartitionDataSource
Top

OpenEdge.DataAdmin.DataSource.PartitionDataSource GetTableJoinSource (character, character, character)

Parameters:
pcJoinTables CHARACTER
pcJoinPhysTables CHARACTER
pcJoinQueries CHARACTER
Returns OpenEdge.DataAdmin.DataSource.PartitionDataSource
Top

OpenEdge.DataAdmin.DataSource.TablePartitionDataSource GetTableSource ()

Returns OpenEdge.DataAdmin.DataSource.TablePartitionDataSource
Top

OpenEdge.DataAdmin.Message.ISaveRequest SaveData (ISaveRequest)

Parameters:
pChanges OpenEdge.DataAdmin.Message.ISaveRequest
Returns OpenEdge.DataAdmin.Message.ISaveRequest


Property Detail
Top

CHARACTER BaseQuery

Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15