Tabnine Logo
Record.getLong
Code IndexAdd Tabnine to your IDE (free)

How to use
getLong
method
in
com.aerospike.client.Record

Best Java code snippets using com.aerospike.client.Record.getLong (Showing top 8 results out of 315)

origin: aerospike/aerospike-client-java

/**
 * Get bin value as boolean.
 */
public boolean getBoolean(String name) {
  // The server always returns booleans as longs, so get long and convert.
  return (getLong(name) != 0) ? true : false;
}

origin: com.aerospike/aerospike-client

/**
 * Get bin value as int.
 */
public int getInt(String name) {
  // The server always returns numbers as longs, so get long and cast.
  return (int)getLong(name);
}
origin: com.aerospike/aerospike-client

/**
 * Get bin value as short.
 */
public short getShort(String name) {
  // The server always returns numbers as longs, so get long and cast.
  return (short)getLong(name);
}
origin: com.aerospike/aerospike-client

/**
 * Get bin value as boolean.
 */
public boolean getBoolean(String name) {
  // The server always returns booleans as longs, so get long and convert.
  return (getLong(name) != 0) ? true : false;
}
origin: com.aerospike/aerospike-client

/**
 * Get bin value as byte.
 */
public byte getByte(String name) {
  // The server always returns numbers as longs, so get long and cast.
  return (byte)getLong(name);
}
origin: aerospike/aerospike-client-java

/**
 * Get bin value as short.
 */
public short getShort(String name) {
  // The server always returns numbers as longs, so get long and cast.
  return (short)getLong(name);
}
origin: aerospike/aerospike-client-java

/**
 * Get bin value as byte.
 */
public byte getByte(String name) {
  // The server always returns numbers as longs, so get long and cast.
  return (byte)getLong(name);
}
origin: aerospike/aerospike-client-java

/**
 * Get bin value as int.
 */
public int getInt(String name) {
  // The server always returns numbers as longs, so get long and cast.
  return (int)getLong(name);
}
com.aerospike.clientRecordgetLong

Javadoc

Get bin value as long.

Popular methods of Record

  • getValue
    Get bin value given bin name. Enter empty string ("") for servers configured as single-bin.
  • <init>
    Initialize record.
  • getInt
    Get bin value as int.
  • toString
    Return String representation of record.
  • getDouble
    Get bin value as double.
  • getGeoJSON
    Get bin value as GeoJSON (backward compatibility).
  • getGeoJSONString
    Get bin value as GeoJSON String.
  • getList
    Get bin value as list.
  • getString
    Get bin value as String.
  • getTimeToLive
    Convert record expiration (seconds from Jan 01 2010 00:00:00 GMT) to ttl (seconds from now).

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JPanel (javax.swing)
  • Top 12 Jupyter Notebook extensions
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