Class RdbmsEntityProviderConfigBuilder

    • Constructor Detail

      • RdbmsEntityProviderConfigBuilder

        public RdbmsEntityProviderConfigBuilder()
    • Method Detail

      • setDataSourceId

        public RdbmsEntityProviderConfigBuilder setDataSourceId​(java.lang.String dsId)
        Sets the datasource ID.
        Parameters:
        dsId - the datasource ID
        Returns:
        this builder
      • setUsername

        public RdbmsEntityProviderConfigBuilder setUsername​(java.lang.String un)
        Sets the username.
        Parameters:
        un - the username
        Returns:
        this builder
      • setDatabaseTableName

        public RdbmsEntityProviderConfigBuilder setDatabaseTableName​(java.lang.String databaseTableName)
        Sets the table name in the database.
        Parameters:
        databaseTableName - the nodes table name
        Returns:
        this builder
      • setNumConnections

        public RdbmsEntityProviderConfigBuilder setNumConnections​(int c)
        Sets the number of connections.
        Parameters:
        c - the number of connections
        Returns:
        this builder
      • setKeyColumn

        public RdbmsEntityProviderConfigBuilder setKeyColumn​(java.lang.String nKey)
        Sets the name for the column holding the keys.
        Parameters:
        nKey - the name of the key column
        Returns:
        this builder
      • setSourceColumn

        public RdbmsEntityProviderConfigBuilder setSourceColumn​(java.lang.String fromVkey)
        Sets the name of the column holding the keys of the source vertices.
        Parameters:
        fromVkey - the column name
        Returns:
        this builder
      • setDestinationColumn

        public RdbmsEntityProviderConfigBuilder setDestinationColumn​(java.lang.String toVkey)
        Sets the name of the column holding the keys of the destination vertices.
        Parameters:
        toVkey - the column id
        Returns:
        this builder
      • setMaxPreFetchedRows

        public RdbmsEntityProviderConfigBuilder setMaxPreFetchedRows​(int maxPreFetchedRows)
        Sets the maximum number of prefetched rows.
        Parameters:
        maxPreFetchedRows - the maximum number of prefetched rows
        Returns:
        this builder
      • setSchema

        public RdbmsEntityProviderConfigBuilder setSchema​(java.lang.String schema)
        Sets the schema.
        Parameters:
        schema - the schema
        Returns:
        this builder
      • setAsOf

        public RdbmsEntityProviderConfigBuilder setAsOf​(java.lang.String asOf)
        Sets the SCN value to use as default.
        Parameters:
        asOf - the scn value
        Returns:
        this builder
        Since:
        21.4
      • setParallelHintDegree

        public RdbmsEntityProviderConfigBuilder setParallelHintDegree​(int parallelHintDegree)
        Sets the PARALLEL hint to use for internal queries.
        Parameters:
        parallelHintDegree - the degree of parallelism
        Returns:
        this builder
        Since:
        22.3