congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Value.getAsBlob
Code IndexAdd Tabnine to your IDE (free)

How to use
getAsBlob
method
in
com.aerospike.client.Value

Best Java code snippets using com.aerospike.client.Value.getAsBlob (Showing top 2 results out of 315)

origin: com.aerospike/aerospike-client

/**
 * Create bin with a blob value.  The value will be java serialized.
 * This method is faster than the bin Object constructor because the blob is converted
 * directly instead of using multiple "instanceof" type checks with a blob default.
 * <p>
 * For servers configured as "single-bin", enter a null or empty name.
 *
 * @param name        bin name, current limit is 14 characters
 * @param value        bin value
 */
public static Bin asBlob(String name, Object value) {
  return new Bin(name, Value.getAsBlob(value));
}
origin: aerospike/aerospike-client-java

/**
 * Create bin with a blob value.  The value will be java serialized.
 * This method is faster than the bin Object constructor because the blob is converted
 * directly instead of using multiple "instanceof" type checks with a blob default.
 * <p>
 * For servers configured as "single-bin", enter a null or empty name.
 *
 * @param name        bin name, current limit is 14 characters
 * @param value        bin value
 */
public static Bin asBlob(String name, Object value) {
  return new Bin(name, Value.getAsBlob(value));
}
com.aerospike.clientValuegetAsBlob

Javadoc

Get blob or null value instance.

Popular methods of Value

  • get
    Get value array instance.
  • getObject
    Return original value as an Object.
  • getAsNull
    Get null value instance.
  • getType
    Get wire protocol value type.
  • toLong
    Return value as a long.
  • getAsGeoJSON
    Get GeoJSON or null value instance.
  • estimateSize
    Calculate number of bytes necessary to serialize the value in the wire protocol.
  • getLuaValue
    Return value as an Object.
  • pack
    Serialize the value using MessagePack.
  • validateKeyType
    Validate if value type can be used as a key.
  • write
    Serialize the value in the wire protocol.
  • write

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now