4Suite
™
API Documentation
►
Module
Ft
.
Rdf
.
Parsers
.
Versa
.Optimizer
Support routines for Versa optimizations WWW: http://4suite.org/4XSLT e-mail: support@4suite.org
Copyright (c) 1999-2001 Fourthought Inc, USA. All Rights Reserved.
See http://4suite.org/COPYRIGHT for license and copyright information
Functions:
IsCoreFunction
,
IsDotExpression
,
IsFixedResourceCollection
,
IsSimpleBackwardTraverse
,
IsSimpleForwardTraverse
,
IsSimpleForwardTraverseChain
,
IsSimpleTextSearch
,
SubQueryFunction
,
TextSearch
Functions
IsCoreFunction
(
expr
,
name
)
IsDotExpression
(
expr
)
IsFixedResourceCollection
(
expr
)
IsSimpleBackwardTraverse
(
expr
)
IsSimpleForwardTraverse
(
expr
)
IsSimpleForwardTraverseChain
(
expr
,
con
)
IsSimpleTextSearch
(
expr
)
SubQueryFunction
(
expr
,
con
)
Handles subqueries of functions such as distribute, filter, map, etc. The main optimization is that in some cases, e.g. simple traversal, one overall relation can be computed and it's a simple dictionary lookup for each cycle of the function
TextSearch
(
start
,
criteria
,
con
,
useSubProps
=1
)
Returns a dictionary of lists. The dict maps properties to text matches. Each list contains subjects that had the given text match for each property