overflowdb.formats

Members list

Type members

Classlikes

case class ExportResult(nodeCount: Int, edgeCount: Int, files: Seq[Path], additionalInfo: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Exporter

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DotExporter.type
object GraphMLExporter.type
object GraphSONExporter.type
object Neo4jCsvExporter.type
object ExporterMain

Base functionality to export a given OverflowDB graph to various export formats. Because ODB relies on domain specific implementations, specifically the NodeFactories and EdgeFactories from the domain-specific generated classes (typically generated by by https://github.com/ShiftLeftSecurity/overflowdb-codegen) need to be passed in.

Base functionality to export a given OverflowDB graph to various export formats. Because ODB relies on domain specific implementations, specifically the NodeFactories and EdgeFactories from the domain-specific generated classes (typically generated by by https://github.com/ShiftLeftSecurity/overflowdb-codegen) need to be passed in.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Format extends Enumeration

Attributes

Supertypes
class Enumeration
trait Serializable
class Object
trait Matchable
class Any
Self type
Format.type
trait Importer

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object GraphMLImporter.type
object GraphSONImporter.type
object Neo4jCsvImporter.type
object ImporterMain extends App

Base functionality import a given list of input file(s) of various formats into an OverflowDB binary. Because ODB relies on domain specific implementations, specifically the NodeFactories and EdgeFactories from the domain-specific generated classes (typically generated by by https://github.com/ShiftLeftSecurity/overflowdb-codegen) need to be passed in.

Base functionality import a given list of input file(s) of various formats into an OverflowDB binary. Because ODB relies on domain specific implementations, specifically the NodeFactories and EdgeFactories from the domain-specific generated classes (typically generated by by https://github.com/ShiftLeftSecurity/overflowdb-codegen) need to be passed in.

Attributes

Supertypes
trait App
trait DelayedInit
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def isList(clazz: Class[_]): Boolean

Attributes

Returns

true if the given class is either array or a (subclass of) Java Iterable or Scala IterableOnce

def resolveOutputFileSingle(outputFile: Path, defaultName: String): Path

If given outputFile is a directory: export into a new file in that directory Otherwise: use the given outputFile as is, and create all parent directories (if not there already)

If given outputFile is a directory: export into a new file in that directory Otherwise: use the given outputFile as is, and create all parent directories (if not there already)

Attributes

def writeFile(file: Path, content: String): Unit

Concrete fields

val iterableForList: PartialFunction[Any, Iterable[_]]