This topic explains how to use the IMPORT statement in queries in VMware Tanzu GemFire.
It may be necessary for an OQL query to refer to the class of an object. In cases where the same class name resides in two different namescopes (packages), you must be able to differentiate the classes having the same name.
The IMPORT statement is used to establish a name for a class in a query.
IMPORT package.Position;
SELECT DISTINCT * FROM /exampleRegion, positions.values positions TYPE Position WHERE positions.mktValue >= 25.00