Tabnine Logo
OhmDBImpl.decode
Code IndexAdd Tabnine to your IDE (free)

How to use
decode
method
in
com.ohmdb.impl.OhmDBImpl

Best Java code snippets using com.ohmdb.impl.OhmDBImpl.decode (Showing top 9 results out of 315)

origin: com.gitblit.ohmdb/ohmdb-core

private void importColumns(long id) {
  String fullName = (String) decode();
  int colN = (Integer) decode();
  Table<Object> table = table(fullName);
  TableInternals<?> table2 = (TableInternals<?>) table;
  for (int i = 0; i < colN; i++) {
    String colName = (String) decode();
    Object colVal = decode();
    table2.fill(id, colName, colVal);
  }
}
origin: com.gitblit.ohmdb/ohmdb

private void importRelations(long id) {
  int relN = (Integer) decode();
  for (int i = 0; i < relN; i++) {
    String relName = (String) decode();
    RelationInternals rel = (RelationInternals) relation(relName);
    int linksN = (Integer) decode();
    for (int j = 0; j < linksN; j++) {
      long linkTo = (Long) decode();
      rel.fill(id, linkTo);
    }
  }
}
origin: com.gitblit.ohmdb/ohmdb-core

private void importRelations(long id) {
  int relN = (Integer) decode();
  for (int i = 0; i < relN; i++) {
    String relName = (String) decode();
    RelationInternals rel = (RelationInternals) relation(relName);
    int linksN = (Integer) decode();
    for (int j = 0; j < linksN; j++) {
      long linkTo = (Long) decode();
      rel.fill(id, linkTo);
    }
  }
}
origin: com.gitblit.ohmdb/ohmdb

private void importColumns(long id) {
  String fullName = (String) decode();
  int colN = (Integer) decode();
  Table<Object> table = table(fullName);
  TableInternals<?> table2 = (TableInternals<?>) table;
  for (int i = 0; i < colN; i++) {
    String colName = (String) decode();
    Object colVal = decode();
    table2.fill(id, colName, colVal);
  }
}
origin: ohmdb/ohmdb

private void importColumns(long id) {
  String fullName = (String) decode();
  int colN = (Integer) decode();
  Table<Object> table = table(fullName);
  TableInternals<?> table2 = (TableInternals<?>) table;
  for (int i = 0; i < colN; i++) {
    String colName = (String) decode();
    Object colVal = decode();
    table2.fill(id, colName, colVal);
  }
}
origin: ohmdb/ohmdb

private void importRelations(long id) {
  int relN = (Integer) decode();
  for (int i = 0; i < relN; i++) {
    String relName = (String) decode();
    RelationInternals rel = (RelationInternals) relation(relName);
    int linksN = (Integer) decode();
    for (int j = 0; j < linksN; j++) {
      long linkTo = (Long) decode();
      rel.fill(id, linkTo);
    }
  }
}
origin: com.gitblit.ohmdb/ohmdb-core

public synchronized void importRecord(long id, byte[] bytes) {
  SER_HELPER.clear();
  SER_HELPER.put(bytes);
  SER_HELPER.flip();
  boolean importTableData = (Boolean) decode();
  if (importTableData) {
    importColumns(id);
  }
  importRelations(id);
}
origin: com.gitblit.ohmdb/ohmdb

public synchronized void importRecord(long id, byte[] bytes) {
  SER_HELPER.clear();
  SER_HELPER.put(bytes);
  SER_HELPER.flip();
  boolean importTableData = (Boolean) decode();
  if (importTableData) {
    importColumns(id);
  }
  importRelations(id);
}
origin: ohmdb/ohmdb

public synchronized void importRecord(long id, byte[] bytes) {
  SER_HELPER.clear();
  SER_HELPER.put(bytes);
  SER_HELPER.flip();
  boolean importTableData = (Boolean) decode();
  if (importTableData) {
    importColumns(id);
  }
  importRelations(id);
}
com.ohmdb.implOhmDBImpldecode

Popular methods of OhmDBImpl

  • relation
  • <init>
  • addShutdownHook
  • address
  • commit
  • deleteRelsInTx
  • exportColumns
  • exportRecord
  • exportRelations
  • failure
  • importColumns
  • importRelations
  • importColumns,
  • importRelations,
  • registerTriggers,
  • rollback,
  • table,
  • getLinkMatcher

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • getResourceAsStream (ClassLoader)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • From CI to AI: The AI layer in your organization
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