c

dynamics.cli

EntityActions

class EntityActions extends LazyLogger

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EntityActions
  2. LazyLogger
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EntityActions(context: DynamicsContext)

Value Members

  1. def count(): Action

    Convert to function: RetrieveTotalRecordCount if possible.

  2. implicit val decoder: EntityDecoder[IO, Dynamic]
  3. val deleteByQuery: Action
  4. def deleteFromQuery(query: String, primaryId: String, esname: String, concurrency: Int): Stream[IO, (String, Long)]

    Return a query that deletes and returns 1 for each delete.

  5. def export(outputpath: String, inputs: Stream[IO, Object], wrap: Boolean = false, drops: Long = 0, take: Long = Long.MaxValue, transform: (Object) ⇒ Object = identity): IO[Long]
  6. def export(): Action
  7. def exportAll(config: AppConfig, q: QuerySpec): IO[Unit]
  8. val exportFromQuery: Action
  9. def exportOne(config: AppConfig, q: QuerySpec): IO[Unit]
  10. def fromEntityNames(entityNames: Seq[String]): Stream[IO, Stream[IO, (String, Long)]]
  11. def fromFunction(entityNames: Seq[String]): Stream[IO, Stream[IO, (String, Long)]]
  12. def fromJsonFile(file: String): Stream[Pure, Stream[IO, (String, Long)]]
  13. def fromMap(queries: Map[String, String]): Stream[Pure, Stream[IO, (String, Long)]]
  14. def get(command: String): Action
  15. def getAllColumnNames(config: AppConfig, q: QuerySpec): IO[Seq[String]]

    Get column names by retrieving a single record.

  16. def getCountFromFunctionForEntity(entitySet: Seq[String] = Nil): IO[RetrieveTotalRecordCountResponse]
  17. lazy val logger: Logger
    Definition Classes
    LazyLogger
  18. def mkCountingStreamForEntity(e: String, pk: String): Stream[IO, (String, Long)]