Class DominoAdminPConnector

    • Field Detail

      • myName

        protected static final java.lang.String myName
        The string name of the Component.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DominoAdminPConnector

        public DominoAdminPConnector()
        Constructor for the DominoAdminPConnector object
    • Method Detail

      • inner_initialize

        protected void inner_initialize​(java.lang.Object o)
                                 throws java.lang.Exception
        This is an internal method used during connector's initialization. It is created in order to have only one thread accessing the Domino database
        Overrides:
        inner_initialize in class DominoConnector
        Parameters:
        o - ignored
        Throws:
        java.lang.Exception - An exception is thrown if this method fails.
      • querySchema

        public java.lang.Object querySchema​(java.lang.Object source)
                                     throws java.lang.Exception
        This function translates to whatever means a connector has to discover schema for a connection. The connector may implement this, in which case a Vector of Entry objects is returned for each column/attribute it discovered. For a database connector this would typically be column names and their attributes.

        Each Entry in the Vector returned should contain the following attributes:

        Name Value
        name The name of the column/attribute/field ....
        syntax The syntax or expected value type
        size If specified this will give the user a hint as to how long the field may be

        Specified by:
        querySchema in interface ConnectorInterface
        Overrides:
        querySchema in class Connector
        Parameters:
        source - The object on which to discover schema. This may be an Entry or a string value
        Returns:
        A Vector of com.ibm.di.entry.Entry objects describing each entity
        Throws:
        java.lang.Exception - if an error while retrieving the schema occurs.
        See Also:
        Entry, Vector