com.outworkers.phantom.macros

RootMacro

class RootMacro extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RootMacro
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RootMacro(c: Context)

Type Members

  1. implicit class FieldOps extends AnyRef

  2. implicit class ListMapOps[K, V, M[X] <: Traversable[X]] extends AnyRef

  3. case class MatchedField(left: Field, right: Field) extends RecordMatch with Product with Serializable

  4. trait RecordMatch extends AnyRef

  5. trait RootField extends AnyRef

  6. case class TableDescriptor(tableTpe: scala.reflect.macros.Universe.Type, recordType: scala.reflect.macros.Universe.Type, members: Seq[Field], matches: Seq[RecordMatch] = immutable.this.Nil) extends Product with Serializable

  7. case class Unmatched(field: Field, reason: String = "") extends RecordMatch with Product with Serializable

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. object Column

  7. object Record

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val builder: scala.reflect.macros.Universe.Select

    Attributes
    protected[this]
  10. val builderPkg: scala.reflect.macros.Universe.Select

    Attributes
    protected[this]
  11. val c: Context

  12. def caseFields(tpe: scala.reflect.macros.Universe.Type): Seq[(scala.reflect.macros.Universe.Name, scala.reflect.macros.Universe.Type)]

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. val colSymbol: Symbol

  15. val colType: scala.reflect.macros.Universe.ExistentialTypeTree

    Attributes
    protected[this]
  16. val collections: scala.reflect.macros.Universe.Select

    Attributes
    protected[this]
  17. val enginePkg: scala.reflect.macros.Universe.Select

    Attributes
    protected[this]
  18. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  20. def extractColumnMembers(table: scala.reflect.macros.Universe.Type, columns: List[Symbol]): List[Field]

  21. def extractRecordMembers(tpe: scala.reflect.macros.Universe.Type): Seq[Field]

    A "generic" type extractor that's meant to produce a list of fields from a record type.

    A "generic" type extractor that's meant to produce a list of fields from a record type. We support a narrow domain of types for automated generation, currently including: - Case classes - Tuples

    To achieve this, we simply have specific ways of extracting the types from the underlying records, and producing a Record.Field for each of the members in the product type,

    tpe

    The underlying record type that was passed as the second argument to a Cassandra table.

    returns

    An iterable of fields, each containing a TermName and a Type that describe a record member.

  22. def filterColumns[Filter](columns: Seq[scala.reflect.macros.Universe.Type])(implicit arg0: scala.reflect.macros.Universe.TypeTag[Filter]): Seq[scala.reflect.macros.Universe.Type]

  23. def filterDecls[Filter](source: scala.reflect.macros.Universe.Type)(implicit arg0: scala.reflect.macros.Universe.TypeTag[Filter]): Seq[Symbol]

  24. def filterMembers[T, Filter](exclusions: (Symbol) ⇒ Option[Symbol] = s: Symbol => Some(s))(implicit arg0: scala.reflect.macros.Universe.WeakTypeTag[T], arg1: scala.reflect.macros.Universe.TypeTag[Filter]): Seq[Symbol]

  25. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. val fromRowName: scala.reflect.macros.Universe.TermName

  27. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  29. val inputTerm: macrocompat.CompatContext.TermName

    Attributes
    protected[this]
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. val keyspaceType: scala.reflect.macros.Universe.Select

    Attributes
    protected[this]
  32. val knownList: List[String]

  33. val logger: Logger

    Attributes
    protected[this]
  34. val macroPkg: scala.reflect.macros.Universe.Select

    Attributes
    protected[this]
  35. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  36. val notImplemented: Symbol

  37. val notImplementedName: scala.reflect.macros.Universe.TermName

  38. final def notify(): Unit

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

    Definition Classes
    AnyRef
  40. def printType(tpe: scala.reflect.macros.Universe.Type): String

  41. val rootConn: Symbol

  42. val rowTerm: macrocompat.CompatContext.TermName

    Attributes
    protected[this]
  43. val rowType: scala.reflect.macros.Universe.Select

    Attributes
    protected[this]
  44. val selectTable: Symbol

  45. def showCollection[M[X] <: TraversableOnce[X]](traversable: M[scala.reflect.macros.Universe.Type], sep: String = ", "): String

  46. val strTpe: scala.reflect.macros.Universe.Select

    Attributes
    protected[this]
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. val tableSym: Symbol

  49. val tableTerm: macrocompat.CompatContext.TermName

    Attributes
    protected[this]
  50. def toString(): String

    Definition Classes
    AnyRef → Any
  51. def tupleTerm(index: Int, aug: Int = 1): scala.reflect.macros.Universe.TermName

  52. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped