Package com.xqj2

Interface XQMetaData2

  • All Superinterfaces:
    XQMetaData

    public interface XQMetaData2
    extends XQMetaData
    Extended interface which implements functionality that is missing from XQMetaData, based on findings whilst trying to implement XQJ API v1.0.
    • Method Detail

      • getXQJ2MajorVersion

        int getXQJ2MajorVersion()
                         throws XQException
        Gets the major version number of XQJ2 specification supported by this implementation.
        Returns:
        an integer indicating the XQJ2 major version
        Throws:
        XQException - if the connection is no longer valid
      • getXQJ2MinorVersion

        int getXQJ2MinorVersion()
                         throws XQException
        Gets the minor version number of XQJ2 specification supported by this implementation.
        Returns:
        an integer indicating the XQJ2 minor version
        Throws:
        XQException - if the connection is no longer valid
      • getXQJ2Version

        String getXQJ2Version()
                       throws XQException
        Gets the full version of XQJ2 specification supported by this implementation.
        Returns:
        a string indicating the version of XQJ2 specification
        Throws:
        XQException - if the connection is no longer valid
      • isXQueryUpdateFacilitySupported

        boolean isXQueryUpdateFacilitySupported()
                                         throws XQException
        Query if XQuery Update Facility extensions are supported by this data source.

        Determines if this data source is capable of executing XQuery syntax which contain updating expressions.

        Refer to the XQuery Update Facility 1.0 specification for more information.

        Returns:
        true if so; otherwise false
        Throws:
        XQException - if the connection is no longer valid
      • isXQueryFullTextSupported

        boolean isXQueryFullTextSupported()
                                   throws XQException
        Query if XQuery Full Text extensions are supported by this data source.

        Determines if this data source is capable of executing XQuery syntax which contains full text expressions.

        Refer to the XQuery and XPath Full Text 1.0 specification for more information.

        Returns:
        true if so; otherwise false
        Throws:
        XQException - if the connection is no longer valid
      • isXQuery30Supported

        boolean isXQuery30Supported()
                             throws XQException
        Query if XQuery 3.0 is supported by this data source.

        Determines if this data source is capable of executing regular XQuery 3.0 expressions.

        Refer to the XQuery 3.0: An XML Query Language specification for more information.

        Returns:
        true if so; otherwise false
        Throws:
        XQException - if the connection is no longer valid
      • isXASupported

        boolean isXASupported()
                       throws XQException
        Query if XA transactions are supported by this data source.
        Returns:
        true if so; otherwise false
        Throws:
        XQException - if the connection is no longer valid