org.sqlproc.engine
Interface SqlRuntimeContext

All Known Implementing Classes:
SqlProcessContext

public interface SqlRuntimeContext

The public runtime context.

For more info please see the Tutorials.

Author:
Vladimir Hudec

Method Summary
 String getFeature(String name)
          Convenient method to obtain a String feature based on the name.
 Integer getFeatureAsInt(String name)
          Convenient method to obtain an Integer feature based on the name.
 Object getFeatureAsObject(String name)
          Convenient method to obtain an Object feature based on the name.
 String[] getFeatures(String name)
          Convenient method to obtain a String array features based on the name.
 SqlPluginFactory getPluginFactory()
          Returns the factory responsible for the SQL Processor plugins.
 Object getRawFeature(String name)
          Convenient method to obtain a feature based on the name.
 SqlTypeFactory getTypeFactory()
          Returns the factory responsible for the META types construction.
 boolean isFeature(String name)
          Convenient method to obtain a boolean feature based on the name.
 

Method Detail

getFeature

String getFeature(String name)
Convenient method to obtain a String feature based on the name.

Parameters:
name - name of the feature
Returns:
value of the feature

getFeatures

String[] getFeatures(String name)
Convenient method to obtain a String array features based on the name.

Parameters:
name - name of the feature
Returns:
the array of the feature values

isFeature

boolean isFeature(String name)
Convenient method to obtain a boolean feature based on the name.

Parameters:
name - name of the feature
Returns:
value of the feature

getFeatureAsInt

Integer getFeatureAsInt(String name)
Convenient method to obtain an Integer feature based on the name.

Parameters:
name - name of the feature
Returns:
value of the feature

getFeatureAsObject

Object getFeatureAsObject(String name)
Convenient method to obtain an Object feature based on the name.

Parameters:
name - name of the feature
Returns:
value of the feature

getRawFeature

Object getRawFeature(String name)
Convenient method to obtain a feature based on the name.

Parameters:
name - name of the feature
Returns:
value of the feature

getTypeFactory

SqlTypeFactory getTypeFactory()
Returns the factory responsible for the META types construction.

Returns:
the factory for the META types construction

getPluginFactory

SqlPluginFactory getPluginFactory()
Returns the factory responsible for the SQL Processor plugins.

Returns:
the factory for the SQL Processor plugins


Copyright © 2014. All rights reserved.