DbSchema

Undocumented in source.

Members

Functions

countMutants
long countMutants(SchemataId id, Mutation.Kind[] kinds, Mutation.Status[] status)
countMutantsInWorklist
long countMutantsInWorklist(SchemataId id, Mutation.Kind[] kinds)
deleteAllSchemas
void deleteAllSchemas()

Prunes the database of schemas that where created by an older version.

getMutantProbability
int[Mutation.Kind][Checksum64] getMutantProbability()
Undocumented in source. Be warned that the author may not have intended to support it.
getSchemaSize
long getSchemaSize(long defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getSchemaUsedKinds
Mutation.Kind[] getSchemaUsedKinds(Path p, SchemaStatus status)
getSchemata
Nullable!Schemata getSchemata(SchemataId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getSchemataKinds
Mutation.Kind[] getSchemataKinds(SchemataId id)
getSchemataMutants
MutationStatusId[] getSchemataMutants(SchemataId id, Mutation.Kind[] kinds)
Undocumented in source. Be warned that the author may not have intended to support it.
getSchematas
SchemataId[] getSchematas(SchemaStatus exclude)
markUsed
void markUsed(SchemataId id, SchemaStatus status)

Mark a schemata as used.

pruneSchemas
void pruneSchemas()

Prunes the database of schemas that are unusable.

pruneUsedSchemas
long pruneUsedSchemas(SchemaStatus[] status)

Removes all schemas that either do not compile or have zero mutants.

putSchemata
Nullable!SchemataId putSchemata(SchemataChecksum cs, SchemataFragment[] fragments, MutationStatusId[] mutants)

Create a schemata from a bundle of fragments.

removeMutantProbability
void removeMutantProbability(Checksum64 p)
Undocumented in source. Be warned that the author may not have intended to support it.
saveMutantProbability
void saveMutantProbability(Checksum64 p, int[Mutation.Kind] state, int skipMax)

Save the probability state for a path.

saveSchemaSize
void saveSchemaSize(long v)
Undocumented in source. Be warned that the author may not have intended to support it.
schemaMutantCount
long[] schemaMutantCount(SchemaStatus status)

Meta