Class DataConnectionResource

java.lang.Object
com.hazelcast.dataconnection.DataConnectionResource

public class DataConnectionResource extends Object
DataConnection Resource is an object for which a mapping can be created.

For example, JDBC returns the list of tables and views, Kafka returns the list of topics, and for a filesystem the list of files etc.

Since:
5.3
  • Constructor Details

    • DataConnectionResource

      public DataConnectionResource(@Nonnull String type, @Nonnull String name)
      Create a Resource with given type and name
    • DataConnectionResource

      public DataConnectionResource(@Nonnull String type, @Nonnull String... name)
      Create a Resource with given type and name
  • Method Details

    • type

      @Nonnull public String type()
      Type of the resource, e.g. TABLE for JDBC connector
    • name

      @Nonnull public String[] name()
      Name of the resource, e.g. name of the JDBC table, including any namespace prefix such as schema.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object