Tabnine Logo
ThriftUtilities.deletesFromHBase
Code IndexAdd Tabnine to your IDE (free)

How to use
deletesFromHBase
method
in
org.apache.hadoop.hbase.thrift2.ThriftUtilities

Best Java code snippets using org.apache.hadoop.hbase.thrift2.ThriftUtilities.deletesFromHBase (Showing top 2 results out of 315)

origin: apache/hbase

@Override
public void delete(List<Delete> deletes) throws IOException {
 List<TDelete> tDeletes = ThriftUtilities.deletesFromHBase(deletes);
 try {
  client.deleteMultiple(tableNameInBytes, tDeletes);
 }  catch (TException e) {
  throw new IOException(e);
 }
}
origin: co.cask.hbase/hbase

@Override
public List<TDelete> deleteMultiple(ByteBuffer table, List<TDelete> deletes) throws TIOError, TException {
 HTableInterface htable = getTable(table.array());
 List<Delete> tempDeletes = deletesFromThrift(deletes);
 try {
  htable.delete(tempDeletes);
 } catch (IOException e) {
  throw getTIOError(e);
 } finally {
  closeTable(htable);
 }
 return deletesFromHBase(tempDeletes);
}
org.apache.hadoop.hbase.thrift2ThriftUtilitiesdeletesFromHBase

Popular methods of ThriftUtilities

  • deleteFromThrift
    Creates a Delete (HBase) from a TDelete (Thrift).
  • getFromThrift
    Creates a Get (HBase) from a TGet (Thrift). This ignores any timestamps set on TColumn objects.
  • incrementFromThrift
  • putFromThrift
    Creates a Put (HBase) from a TPut (Thrift)
  • scanFromThrift
  • deletesFromThrift
    Converts multiple TDeletes (Thrift) into a list of Deletes (HBase).
  • getsFromThrift
    Converts multiple TGets (Thrift) into a list of Gets (HBase).
  • putsFromThrift
    Converts multiple TPuts (Thrift) into a list of Puts (HBase).
  • resultFromHBase
    Creates a TResult (Thrift) from a Result (HBase).
  • resultsFromHBase
    Converts multiple Results (HBase) into a list of TResults (Thrift).
  • addAttributes
    Adds all the attributes into the Operation object
  • appendFromThrift
  • addAttributes,
  • appendFromThrift,
  • compareOpFromThrift,
  • deleteFromHBase,
  • durabilityFromThrift,
  • readTypeFromThrift,
  • regionLocationFromHBase,
  • regionLocationsFromHBase,
  • rowMutationsFromThrift

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Menu (java.awt)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Reference (javax.naming)
  • JTextField (javax.swing)
  • Github Copilot alternatives
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