Class ImmutableSqlTupleList

    • Method Detail

      • getProps

        public com.google.common.collect.ImmutableList<io.vertx.mutiny.sqlclient.Tuple> getProps()
        Specified by:
        getProps in interface SqlBuilder.SqlTupleList
        Returns:
        The value of the props attribute
      • withValue

        public final ImmutableSqlTupleList withValue​(String value)
        Copy the current immutable object by setting a value for the value attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for value
        Returns:
        A modified copy of the this object
      • withProps

        public final ImmutableSqlTupleList withProps​(io.vertx.mutiny.sqlclient.Tuple... elements)
        Copy the current immutable object with elements that replace the content of props.
        Parameters:
        elements - The elements to set
        Returns:
        A modified copy of this object
      • withProps

        public final ImmutableSqlTupleList withProps​(Iterable<? extends io.vertx.mutiny.sqlclient.Tuple> elements)
        Copy the current immutable object with elements that replace the content of props. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        elements - An iterable of props elements to set
        Returns:
        A modified copy of this object
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of ImmutableSqlTupleList that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: value, props.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

        public String toString()
        Prints the immutable value SqlTupleList with attribute values.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the value
      • copyOf

        public static ImmutableSqlTupleList copyOf​(SqlBuilder.SqlTupleList instance)
        Creates an immutable copy of a SqlBuilder.SqlTupleList value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
        Parameters:
        instance - The instance to copy
        Returns:
        A copied immutable SqlTupleList instance
      • builder

        public static ImmutableSqlTupleList.Builder builder()
        Creates a builder for ImmutableSqlTupleList.
         ImmutableSqlTupleList.builder()
            .value(String) // required value
            .addProps|addAllProps(io.vertx.mutiny.sqlclient.Tuple) // props elements
            .build();
         
        Returns:
        A new ImmutableSqlTupleList builder