Package nzilbb.labbcat.server.db
Class TestGraphAgqlToSql
- java.lang.Object
-
- nzilbb.labbcat.server.db.TestGraphAgqlToSql
-
public class TestGraphAgqlToSql extends Object
-
-
Constructor Summary
Constructors Constructor Description TestGraphAgqlToSql()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
annotators()
void
attributeLabel()
void
corpusLabel()
void
corpusLabels()
void
emptyExpression()
void
episodeLabel()
nzilbb.ag.Schema
getSchema()
Return a plausible schema, including SQL attributes.void
idMatch()
void
invalidLayers()
void
labels()
void
languageAttributeLabel()
Ensure that trascript_language defaults to corpus.language when using label attribute.void
languageLabels()
Ensure that transcript_language defaults to the corpus language, when using labels()void
listLength()
void
literalAll()
static void
main(String[] args)
void
mainParticipantLabels()
Ensures that the 'main_participant' layer is correctly handled.void
orderBy()
void
transcriptTypeLabel()
void
userWhereClause()
void
whoLabels()
-
-
-
Method Detail
-
getSchema
public nzilbb.ag.Schema getSchema()
Return a plausible schema, including SQL attributes.- Returns:
- A test schema.
-
idMatch
public void idMatch() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
emptyExpression
public void emptyExpression() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
orderBy
public void orderBy() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
corpusLabel
public void corpusLabel() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
literalAll
public void literalAll() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
corpusLabels
public void corpusLabels() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
episodeLabel
public void episodeLabel() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
transcriptTypeLabel
public void transcriptTypeLabel() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
whoLabels
public void whoLabels() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
mainParticipantLabels
public void mainParticipantLabels() throws nzilbb.ag.ql.AGQLException
Ensures that the 'main_participant' layer is correctly handled.- Throws:
nzilbb.ag.ql.AGQLException
-
languageLabels
public void languageLabels() throws nzilbb.ag.ql.AGQLException
Ensure that transcript_language defaults to the corpus language, when using labels()- Throws:
nzilbb.ag.ql.AGQLException
-
labels
public void labels() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
attributeLabel
public void attributeLabel() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
languageAttributeLabel
public void languageAttributeLabel() throws nzilbb.ag.ql.AGQLException
Ensure that trascript_language defaults to corpus.language when using label attribute.- Throws:
nzilbb.ag.ql.AGQLException
-
listLength
public void listLength() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
annotators
public void annotators() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
invalidLayers
public void invalidLayers() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
userWhereClause
public void userWhereClause() throws nzilbb.ag.ql.AGQLException
- Throws:
nzilbb.ag.ql.AGQLException
-
main
public static void main(String[] args)
-
-