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

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

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

origin: com.gitblit.ohmdb/ohmdb-core

public RWRelation relation(String name) {
  return relation(null, name, null);
}
origin: ohmdb/ohmdb

public static RWRelation relation(Db db, String name) {
  return ((OhmDBImpl) db).relation(name);
}
origin: ohmdb/ohmdb

public RWRelation relation(String name) {
  return relation(null, name, null);
}
origin: com.gitblit.ohmdb/ohmdb

public RWRelation relation(String name) {
  return relation(null, name, null);
}
origin: ohmdb/ohmdb

protected static RWRelation relation(Db db, Table<?> from, String name, Table<?> to) {
  return ((OhmDBImpl) db).relation(from, name, to);
}
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

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);
    }
  }
}
com.ohmdb.implOhmDBImplrelation

Popular methods of OhmDBImpl

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

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • String (java.lang)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JFrame (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Option (scala)
  • 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