Namespace: OpenEdge.DataAdmin.DataSource
Type: Class AreaDataSource
Parent Classes:
Inherits: OpenEdge.DataAdmin.DataSource.DataSource


/* 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.
Author(s):hdaniels
Created:Oct 2011



Method Summary
  Options Name Purpose
  AfterAreaRow (dataset-handle)
  CHARACTER ColumnExpression (character, character, character) /* convert values in query to the expression required in the db */
  CHARACTER ColumnSortSource (character) /* convert istype2 value in query to the expression required in the db */
  CHARACTER ColumnSource (character) /* rename table to match to right table when building */
  PrepareBuffer (handle)
  LOGICAL PrepareQueryString (QueryString)
  CHARACTER RecordsPerBlockExpression (character, character)
  CHARACTER Type2Expression (log)
  CHARACTER validAreaTypesString () /* method private character validBlockSizeString(): define variable i as integer no-undo. define variable cc as character no-undo. do i = 1 to extent(AreaTypeNames): if AreaTypeNames[i] <> "undefined" then cc = cc + quoter(AreaTypeNames[i]) + if i = 6 then " or " else if i = 7 then " " else ", ". end. return cc. end method. */

Constructor Summary
  Options Name Purpose
  AreaDataSource ()

Method Detail
Top

AfterAreaRow (dataset-handle)

Parameters:
hds DATASET-HANDLE
 
Top

CHARACTER ColumnExpression (character, character, character)

/* convert values in query to the expression required in the db
Parameters:
pcColumn CHARACTER
 
pcOperator CHARACTER
 
pcValue 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)

/* rename table to match to right table when building
Parameters:
pcColumn CHARACTER
 
Returns CHARACTER
 
Top

PrepareBuffer (handle)

Parameters:
phBuffer HANDLE
 
Top

LOGICAL PrepareQueryString (QueryString)

Parameters:
poQueryString OpenEdge.DataAdmin.Lang.QueryString
 
Returns LOGICAL
 
Top

CHARACTER RecordsPerBlockExpression (character, character)

Parameters:
pcOperator CHARACTER
 
pcValue CHARACTER
 
Returns CHARACTER
 
Top

CHARACTER Type2Expression (log)

Parameters:
type2 LOGICAL
 
Returns CHARACTER
 
Top

CHARACTER validAreaTypesString ()

/*
method private character validBlockSizeString():
define variable i as integer no-undo.
define variable cc as character no-undo.
do i = 1 to extent(AreaTypeNames):
if AreaTypeNames[i] <> "undefined" then
cc = cc + quoter(AreaTypeNames[i])
+ if i = 6 then " or " else if i = 7 then " " else ", ".
end.
return cc.
end method.
Returns CHARACTER
 


Constructor Detail
Top

AreaDataSource ()