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

How to use
ActiveCompaction
in
org.apache.accumulo.core.client.admin

Best Java code snippets using org.apache.accumulo.core.client.admin.ActiveCompaction (Showing top 4 results out of 315)

origin: apache/accumulo

Collections.sort(acl, (o1, o2) -> (int) (o2.getAge() - o1.getAge()));
 String output = ac.getOutputFile();
 int index = output.indexOf("tables");
 if (index > 0) {
 ac.getIterators();
 for (IteratorSetting is : ac.getIterators()) {
  iterList.add(is.getName() + "=" + is.getPriority() + "," + is.getIteratorClass());
  iterOpts.put(is.getName(), is.getOptions());
   Duration.format(ac.getAge(), "", "-"), ac.getType(), ac.getReason(),
   shortenCount(ac.getEntriesRead()), shortenCount(ac.getEntriesWritten()),
   ac.getTable(), ac.getTablet(), ac.getInputFiles().size(), output, iterList,
   iterOpts));
origin: org.apache.accumulo/accumulo-shell

 @Override
 public int compare(ActiveCompaction o1, ActiveCompaction o2) {
  return (int) (o2.getAge() - o1.getAge());
 }
});
origin: org.apache.accumulo/accumulo-shell

String output = ac.getOutputFile();
int index = output.indexOf("tables");
if (index > 0) {
ac.getIterators();
for (IteratorSetting is : ac.getIterators()) {
 iterList.add(is.getName() + "=" + is.getPriority() + "," + is.getIteratorClass());
 iterOpts.put(is.getName(), is.getOptions());
  Duration.format(ac.getAge(), "", "-"), ac.getType(), ac.getReason(),
  shortenCount(ac.getEntriesRead()), shortenCount(ac.getEntriesWritten()),
  ac.getTable(), ac.getTablet(), ac.getInputFiles().size(), output, iterList,
  iterOpts));
origin: org.apache.accumulo/accumulo-proxy

 new org.apache.accumulo.proxy.thrift.ActiveCompaction();
pcomp.age = comp.getAge();
pcomp.entriesRead = comp.getEntriesRead();
pcomp.entriesWritten = comp.getEntriesWritten();
TabletId e = comp.getTablet();
pcomp.extent = new org.apache.accumulo.proxy.thrift.KeyExtent(e.getTableId().toString(),
  TextUtil.getByteBuffer(e.getEndRow()), TextUtil.getByteBuffer(e.getPrevEndRow()));
pcomp.inputFiles = new ArrayList<>();
if (comp.getInputFiles() != null) {
 pcomp.inputFiles.addAll(comp.getInputFiles());
pcomp.localityGroup = comp.getLocalityGroup();
pcomp.outputFile = comp.getOutputFile();
pcomp.reason = CompactionReason.valueOf(comp.getReason().toString());
pcomp.type = CompactionType.valueOf(comp.getType().toString());
if (comp.getIterators() != null) {
 for (IteratorSetting setting : comp.getIterators()) {
org.apache.accumulo.core.client.adminActiveCompaction

Most used methods

  • getAge
  • getEntriesRead
  • getEntriesWritten
  • getInputFiles
  • getIterators
  • getOutputFile
  • getReason
  • getTablet
  • getType
  • getLocalityGroup
  • getTable
  • getTable

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer 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