Namespace: OpenEdge.DataAdmin.DataSource
Type: Class NewPartitionDataSource
Parent Classes:
Inherits: OpenEdge.DataAdmin.DataSource.PartitionDataSource


/* 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:new partitions before create
- for new tenant or group
Author(s):hdaniels
Created:2011



Method Summary
  Options Name Purpose
  AfterRow (dataset-handle)
  CheckParentExpression (character, character, character) /** check and set parent key value if ok (parent is tenant or group) @throws IllegalArgumentError if - this is not the only parent expression in the query - the parent expression is not unique - an expression for the other parent has already been encountered - the group or tenant exist */
  CHARACTER ColumnExpression (character, character, character)
  CHARACTER ColumnSortSource (character) /* convert istype2 value in query to the expression required in the db */
  CHARACTER ColumnSource (character)
  LOGICAL Prepare (handle, character, character, character)

Constructor Summary
  Options Name Purpose
  NewPartitionDataSource (character, character, character)

Property Summary
  Options Name Purpose
  CHARACTER FileExpression


Method Detail
Top

AfterRow (dataset-handle)

Parameters:
hds DATASET-HANDLE
 
Top

CheckParentExpression (character, character, character)

Purpose: check and set parent key value if ok (parent is tenant or group)
@throws IllegalArgumentError if
- this is not the only parent expression in the query
- the parent expression is not unique
- an expression for the other parent has already been encountered
- the group or tenant exist
Parameters:
pccol CHARACTER
 
pcop CHARACTER
 
pcVal CHARACTER
 
Top

CHARACTER ColumnExpression (character, character, character)

Parameters:
pccol CHARACTER
 
pcop CHARACTER
 
pcVal CHARACTER
 
Returns CHARACTER
 
Top

CHARACTER ColumnSortSource (character)

/* convert istype2 value in query to the expression required in the db
Parameters:
pcColumn CHARACTER
 
Returns CHARACTER
 
Top

CHARACTER ColumnSource (character)

Parameters:
pcColumn CHARACTER
 
Returns CHARACTER
 
Top

LOGICAL Prepare (handle, character, character, character)

Parameters:
phBuffer HANDLE
 
pcBaseQuery CHARACTER
 
pcTargetQuery CHARACTER
 
pcJoin CHARACTER
 
Returns LOGICAL
 


Constructor Detail
Top

NewPartitionDataSource (character, character, character)

Parameters:
pcTables CHARACTER
 
pcPhysicalTables CHARACTER
 
pcMapping CHARACTER
 


Property Detail
Top

CHARACTER FileExpression

Returns CHARACTER