Class MongoDBTarget

    • Method Detail

      • connectionName

        public final String connectionName()

        The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.

        Returns:
        The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
      • path

        public final String path()

        The path of the Amazon DocumentDB or MongoDB target (database/collection).

        Returns:
        The path of the Amazon DocumentDB or MongoDB target (database/collection).
      • scanAll

        public final Boolean scanAll()

        Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

        A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.

        Returns:
        Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

        A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)