All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.astyanax.cql.CqlPreparedStatement Maven / Gradle / Ivy

There is a newer version: 3.10.2
Show newest version
package com.netflix.astyanax.cql;

import java.nio.ByteBuffer;
import java.util.List;
import java.util.UUID;

import com.netflix.astyanax.Execution;
import com.netflix.astyanax.Serializer;

public interface CqlPreparedStatement extends Execution {
    /**
     * Specify a value of custom type for which a convenience method does not exist 
     * @param value
     * @param serializer
     * @return
     */
     CqlPreparedStatement withByteBufferValue(V value, Serializer serializer);

    /**
     * Set the next parameter value to this ByteBuffer
     * @param value
     * @return
     */
    CqlPreparedStatement withValue(ByteBuffer value);
    
    /**
     * Add a list of ByteBuffer values
     * @param value
     * @return
     */
    CqlPreparedStatement withValues(List value);
    
    /**
     * Set the next parameter value to this String
     * @param value
     * @return
     */
    CqlPreparedStatement withStringValue(String value);
    
    /**
     * Set the next parameter value to this Integer
     * @param value
     * @return
     */
    CqlPreparedStatement withIntegerValue(Integer value);
    
    /**
     * Set the next parameter value to this Boolean
     * @param value
     * @return
     */
    CqlPreparedStatement withBooleanValue(Boolean value);
    
    /**
     * Set the next parameter value to this Double
     * @param value
     * @return
     */
    CqlPreparedStatement withDoubleValue(Double value);

    /**
     * Set the next parameter value to this Long
     * @param value
     * @return
     */
    CqlPreparedStatement withLongValue(Long value);

    /**
     * Set the next parameter value to this Float
     * @param value
     * @return
     */
    CqlPreparedStatement withFloatValue(Float value);

    /**
     * Set the next parameter value to this Short
     * @param value
     * @return
     */
    CqlPreparedStatement withShortValue(Short value);
    
    /**
     * Set the next parameter value to this UUID
     * @param value
     * @return
     */
    CqlPreparedStatement withUUIDValue(UUID value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy