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

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

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

origin: apache/accumulo

ActiveScanImpl(ClientContext context,
  org.apache.accumulo.core.tabletserver.thrift.ActiveScan activeScan)
  throws TableNotFoundException {
 this.scanId = activeScan.scanId;
 this.client = activeScan.client;
 this.user = activeScan.user;
 this.age = activeScan.age;
 this.idle = activeScan.idleTime;
 this.tableName = Tables.getTableName(context, Table.ID.of(activeScan.tableId));
 this.type = ScanType.valueOf(activeScan.getType().name());
 this.state = ScanState.valueOf(activeScan.state.name());
 this.extent = new KeyExtent(activeScan.extent);
 this.authorizations = new Authorizations(activeScan.authorizations);
 this.columns = new ArrayList<>(activeScan.columns.size());
 for (TColumn tcolumn : activeScan.columns)
  this.columns.add(new Column(tcolumn));
 this.ssiList = new ArrayList<>();
 for (IterInfo ii : activeScan.ssiList) {
  this.ssiList.add(ii.iterName + "=" + ii.priority + "," + ii.className);
 }
 this.ssio = activeScan.ssio;
}
origin: org.apache.accumulo/accumulo-proxy

pscan.age = scan.getAge();
pscan.idleTime = scan.getIdleTime();
pscan.type = ScanType.valueOf(scan.getType().toString());
pscan.state = ScanState.valueOf(scan.getState().toString());
TabletId e = scan.getTablet();
origin: org.apache.accumulo/accumulo-core

ActiveScanImpl(Instance instance,
  org.apache.accumulo.core.tabletserver.thrift.ActiveScan activeScan)
  throws TableNotFoundException {
 this.scanId = activeScan.scanId;
 this.client = activeScan.client;
 this.user = activeScan.user;
 this.age = activeScan.age;
 this.idle = activeScan.idleTime;
 this.tableName = Tables.getTableName(instance, activeScan.tableId);
 this.type = ScanType.valueOf(activeScan.getType().name());
 this.state = ScanState.valueOf(activeScan.state.name());
 this.extent = new KeyExtent(activeScan.extent);
 this.authorizations = new Authorizations(activeScan.authorizations);
 this.columns = new ArrayList<>(activeScan.columns.size());
 for (TColumn tcolumn : activeScan.columns)
  this.columns.add(new Column(tcolumn));
 this.ssiList = new ArrayList<>();
 for (IterInfo ii : activeScan.ssiList) {
  this.ssiList.add(ii.iterName + "=" + ii.priority + "," + ii.className);
 }
 this.ssio = activeScan.ssio;
}
org.apache.accumulo.core.client.adminScanType

Most used methods

  • toString
  • valueOf

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • getApplicationContext (Context)
  • setContentView (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Best plugins for Eclipse
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