Interface SourceCapabilities
-
- All Known Implementing Classes:
BasicSourceCapabilities
public interface SourceCapabilities
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SourceCapabilities.Capability
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getSourceProperty(SourceCapabilities.Capability propertyName)
This method returns an Object corresponding to the Source Propertyboolean
supportsCapability(SourceCapabilities.Capability capability)
Returns true if the capability is supported.boolean
supportsConvert(int sourceType, int targetType)
boolean
supportsFormatLiteral(String literal, ExecutionFactory.Format format)
boolean
supportsFunction(String functionName)
This method can be used to check whether a particular function is supported by this connector.
-
-
-
Method Detail
-
supportsCapability
boolean supportsCapability(SourceCapabilities.Capability capability)
Returns true if the capability is supported. The capability constants are all defined in this interface with the meaning of supporting that capability.- Parameters:
capability
- Name of capability- Returns:
- True if supported, false otherwise
-
supportsFunction
boolean supportsFunction(String functionName)
This method can be used to check whether a particular function is supported by this connector. This method should only be used if the capability FUNCTION is true.- Parameters:
functionName
- The function that may be supported- Returns:
- True if function is supported.
-
getSourceProperty
Object getSourceProperty(SourceCapabilities.Capability propertyName)
This method returns an Object corresponding to the Source Property- Since:
- 4.4
-
supportsConvert
boolean supportsConvert(int sourceType, int targetType)
- Parameters:
sourceType
-targetType
-- Returns:
-
supportsFormatLiteral
boolean supportsFormatLiteral(String literal, ExecutionFactory.Format format)
-
-