com.twitter.cassovary.util.io

GraphReaderFromDirectory

trait GraphReaderFromDirectory[T] extends GraphReader[T]

A subtrait of GraphReader that reads files of names specified by prefix and containing directory.

Linear Supertypes
GraphReader[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GraphReaderFromDirectory
  2. GraphReader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def directory: String

    Directory name to read files from

  2. abstract def nodeNumberer: NodeNumberer[T]

    Define node numberer

    Define node numberer

    Definition Classes
    GraphReader
  3. abstract def oneShardReader(filename: String): Iterable[NodeIdEdgesMaxId]

    Returns a reader for a given file (shard).

  4. abstract def reverseParseNode(n: NodeIdEdgesMaxId): String

    The reader knows the format as it knows how to read the file.

    The reader knows the format as it knows how to read the file. This reverse parses the input n to a string in that same format.

    Definition Classes
    GraphReader

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def iterableSeq: Seq[Iterable[NodeIdEdgesMaxId]]

    Should return a sequence of NodeIdEdgesMaxId iterables

    Should return a sequence of NodeIdEdgesMaxId iterables

    Definition Classes
    GraphReaderFromDirectoryGraphReader
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. def parallelismLimit: Int

    Definition Classes
    GraphReader
  19. def prefixFileNames: String

    Filenames prefix

  20. def storedGraphDir: StoredGraphDir

    Override to modify the graph's stored direction

    Override to modify the graph's stored direction

    Definition Classes
    GraphReader
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toArrayBasedDirectedGraph(): ArrayBasedDirectedGraph

    Create an ArrayBasedDirectedGraph

    Create an ArrayBasedDirectedGraph

    Definition Classes
    GraphReader
  23. def toArrayBasedDynamicDirectedGraph(): ArrayBasedDynamicDirectedGraph

    Create an ArrayBasedDynamicDirectedGraph

    Create an ArrayBasedDynamicDirectedGraph

    Definition Classes
    GraphReader
  24. def toSharedArrayBasedDirectedGraph(numShards: Int = 128): SharedArrayBasedDirectedGraph

    Create a SharedArrayBasedDirectedGraph

    Create a SharedArrayBasedDirectedGraph

    numShards

    Number of shards to split the in-memory array into 128 is an arbitrary default

    Definition Classes
    GraphReader
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GraphReader[T]

Inherited from AnyRef

Inherited from Any

Ungrouped