A B C D E F G I L M N O P R S T V 

A

addMessage(String) - Method in class org.coursera.courier.api.FileFormatDataSchemaParser.CourierParseResult
 
addParserForFileFormat(ParserForFileFormat) - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
allContainedTypes(ClassTemplateSpec) - Static method in class org.coursera.courier.api.ClassTemplateSpecs
 
allReferencedTypes(ClassTemplateSpec) - Static method in class org.coursera.courier.api.ClassTemplateSpecs
Return all types directly or transitively referenced by this type.

B

bindings() - Method in class org.coursera.courier.api.MultiFormatDataSchemaResolver
 
bindNameToSchema(Name, NamedDataSchema, DataSchemaLocation) - Method in class org.coursera.courier.api.MultiFormatDataSchemaResolver
 
buildLanguage() - Method in interface org.coursera.courier.api.PegasusCodeGenerator
Used for the "src/main/{language}" paths of build systems.

C

classNameForNamedSchema(NamedDataSchema) - Static method in class org.coursera.courier.api.CourierTemplateSpecGenerator
Return Java class name for a NamedDataSchema.
ClassTemplateSpecs - Class in org.coursera.courier.api
Utilities for ClassTemplateSpec.
ClassTemplateSpecs() - Constructor for class org.coursera.courier.api.ClassTemplateSpecs
 
CourierMapTemplateSpec - Class in org.coursera.courier.api
Modified version of MapTemplateSpec that adds support for Courier specific functionality.
CourierMapTemplateSpec(MapDataSchema) - Constructor for class org.coursera.courier.api.CourierMapTemplateSpec
 
CourierTemplateSpecGenerator - Class in org.coursera.courier.api
Modified version of TemplateSpecGenerator that adds support for Courier specific functionality: Typed map key support. Use 'scala' instead of 'java' for custom properties. Use 'org.coursera.courier.data' as base namespace.
CourierTemplateSpecGenerator(DataSchemaResolver, String) - Constructor for class org.coursera.courier.api.CourierTemplateSpecGenerator
Deprecated.
Use below constructor and provide a customTypeLanguage.
CourierTemplateSpecGenerator(DataSchemaResolver, String, String) - Constructor for class org.coursera.courier.api.CourierTemplateSpecGenerator
 
CourierTemplateSpecGenerator.CustomClasses - Class in org.coursera.courier.api
 
CourierTemplateSpecGenerator.CustomClasses() - Constructor for class org.coursera.courier.api.CourierTemplateSpecGenerator.CustomClasses
 
customClass - Variable in class org.coursera.courier.api.CourierTemplateSpecGenerator.CustomClasses
 
customCoercerClass - Variable in class org.coursera.courier.api.CourierTemplateSpecGenerator.CustomClasses
 
customTypeLanguage() - Method in interface org.coursera.courier.api.PegasusCodeGenerator
Used in .pdsc files to identify the custom type properties for a languages.

D

DefaultGeneratorRunner - Class in org.coursera.courier.api
Runs a PegasusCodeGenerator for all the .pdsc files in a project.
DefaultGeneratorRunner() - Constructor for class org.coursera.courier.api.DefaultGeneratorRunner
 
definedSchemas() - Method in interface org.coursera.courier.api.PegasusCodeGenerator
List of defined schemas.
directContainedTypes(ClassTemplateSpec) - Static method in class org.coursera.courier.api.ClassTemplateSpecs
 
directReferencedTypes(ClassTemplateSpec) - Static method in class org.coursera.courier.api.ClassTemplateSpecs
 
DocCommentStyle - Enum in org.coursera.courier.lang
 
DocEscaping - Class in org.coursera.courier.lang
 
DocEscaping() - Constructor for class org.coursera.courier.lang.DocEscaping
 

E

existingDataSchema(String) - Method in class org.coursera.courier.api.MultiFormatDataSchemaResolver
 

F

fileExtension - Variable in class org.coursera.courier.api.ParserForFileFormat
File extension without a preceding ".".
FileFormatDataSchemaParser - Class in org.coursera.courier.api
A slight generalization of the com.linkedin.pegasus.generator.DataSchemaParser class from the pegasus codebase.
FileFormatDataSchemaParser(DataSchemaResolver, SchemaParserFactory, String) - Constructor for class org.coursera.courier.api.FileFormatDataSchemaParser
Initialize my DataSchemaResolver with the resolver path.
FileFormatDataSchemaParser.CourierParseResult - Class in org.coursera.courier.api
 
FileFormatDataSchemaParser.CourierParseResult() - Constructor for class org.coursera.courier.api.FileFormatDataSchemaParser.CourierParseResult
 
findDataSchema(String, StringBuilder) - Method in class org.coursera.courier.api.MultiFormatDataSchemaResolver
 
format(String) - Method in class org.coursera.courier.lang.PoorMansCStyleSourceFormatter
 

G

generate(DataSchema) - Method in class org.coursera.courier.api.CourierTemplateSpecGenerator
Generate ClassTemplateSpec from the specified DataSchema without knowing the location.
generate(DataSchema, DataSchemaLocation) - Method in class org.coursera.courier.api.CourierTemplateSpecGenerator
Generate ClassTemplateSpec from the specified DataSchema and its location.
generate(ClassTemplateSpec) - Method in interface org.coursera.courier.api.PegasusCodeGenerator
Generates code for the given spec.
GeneratedCode - Class in org.coursera.courier.api
Code that has been generated.
GeneratedCode(GeneratedCodeTargetFile, String) - Constructor for class org.coursera.courier.api.GeneratedCode
 
GeneratedCodeTargetFile - Class in org.coursera.courier.api
Identifies the target file for generated code.
GeneratedCodeTargetFile(String) - Constructor for class org.coursera.courier.api.GeneratedCodeTargetFile
 
GeneratedCodeTargetFile(String, String, String) - Constructor for class org.coursera.courier.api.GeneratedCodeTargetFile
 
generatePredef() - Method in interface org.coursera.courier.api.PegasusCodeGenerator
Generate all predefined types.
GeneratorRunner - Interface in org.coursera.courier.api
Generates code from .pdsc schemas.
GeneratorRunnerOptions - Class in org.coursera.courier.api
 
GeneratorRunnerOptions(String, String[], String) - Constructor for class org.coursera.courier.api.GeneratorRunnerOptions
 
getClassLocation(ClassTemplateSpec) - Method in class org.coursera.courier.api.CourierTemplateSpecGenerator
 
getCode() - Method in class org.coursera.courier.api.GeneratedCode
 
getCustomClasses(DataSchema, String) - Static method in class org.coursera.courier.api.CourierTemplateSpecGenerator
 
getCustomInfo() - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
getDataNamespace() - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
getDefaultPackage() - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
getGeneratedSpecs() - Method in class org.coursera.courier.api.CourierTemplateSpecGenerator
 
getImmediateCustomInfo(DataSchema, String) - Static method in class org.coursera.courier.api.ClassTemplateSpecs
 
getKeyClass() - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
getKeyCustomInfo() - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
getKeyDataClass() - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
getKeySchema() - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
getParsersForFileFormats() - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
getResolverPath() - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
getSchema() - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
getSchemaResolver() - Method in class org.coursera.courier.api.FileFormatDataSchemaParser
 
getSchemaResolver() - Method in class org.coursera.courier.api.MultiFormatSchemaParser
 
getSources() - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
getTarget() - Method in class org.coursera.courier.api.GeneratedCode
 
getTargetDirectoryPath() - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
getTypedDefinitionMapping(UnionTemplateSpec, boolean) - Static method in class org.coursera.courier.schema.TypedDefinitions
 
getValueClass() - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
getValueDataClass() - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 

I

isFlatTypedDefinition(UnionTemplateSpec) - Static method in class org.coursera.courier.schema.TypedDefinitions
 
isGenerateImported() - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
isGeneratePredef() - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
isGenerateTyperefs() - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
isTypedDefinition(UnionTemplateSpec) - Static method in class org.coursera.courier.schema.TypedDefinitions
 

L

locationResolved(DataSchemaLocation) - Method in class org.coursera.courier.api.MultiFormatDataSchemaResolver
 

M

MultiFormatDataSchemaResolver - Class in org.coursera.courier.api
Combines multiple file format specific resolvers (and respective file format specific parsers) into a single resolver.
MultiFormatDataSchemaResolver(String, List<ParserForFileFormat>) - Constructor for class org.coursera.courier.api.MultiFormatDataSchemaResolver
 
MultiFormatSchemaParser - Class in org.coursera.courier.api
Combines multiple file format specific parsers into a single parser.
MultiFormatSchemaParser(String, List<ParserForFileFormat>) - Constructor for class org.coursera.courier.api.MultiFormatSchemaParser
 

N

nameToDataSchemaLocations() - Method in class org.coursera.courier.api.MultiFormatDataSchemaResolver
 

O

org.coursera.courier.api - package org.coursera.courier.api
 
org.coursera.courier.lang - package org.coursera.courier.lang
 
org.coursera.courier.schema - package org.coursera.courier.schema
 

P

parserFactory - Variable in class org.coursera.courier.api.ParserForFileFormat
 
ParserForFileFormat - Class in org.coursera.courier.api
Identifies the SchemaParserFactory that should be used for a particular file format (e.g.
ParserForFileFormat(String, SchemaParserFactory) - Constructor for class org.coursera.courier.api.ParserForFileFormat
 
parseSources(String[]) - Method in class org.coursera.courier.api.FileFormatDataSchemaParser
Parses sources that specify paths to schema files and/or fully qualified schema names.
parseSources(String[]) - Method in class org.coursera.courier.api.MultiFormatSchemaParser
 
PegasusCodeGenerator - Interface in org.coursera.courier.api
Data binding code generator for Pegasus schemas.
PoorMansCStyleSourceFormatter - Class in org.coursera.courier.lang
Cleans up C style source code generated by a string template engine.
PoorMansCStyleSourceFormatter(int, DocCommentStyle) - Constructor for class org.coursera.courier.lang.PoorMansCStyleSourceFormatter
 

R

registerDefinedSchema(DataSchema) - Method in class org.coursera.courier.api.CourierTemplateSpecGenerator
Instead of generate spec for the specify DataSchema, assume it is already defined in the system.
run(PegasusCodeGenerator, GeneratorRunnerOptions) - Method in class org.coursera.courier.api.DefaultGeneratorRunner
 
run(PegasusCodeGenerator, GeneratorRunnerOptions) - Method in interface org.coursera.courier.api.GeneratorRunner
 

S

setCustomInfo(CustomInfoSpec) - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
setDataNamespace(String) - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
setDefaultPackage(String) - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
setGenerateImported(boolean) - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
setGeneratePredef(boolean) - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
setGenerateTyperefs(boolean) - Method in class org.coursera.courier.api.GeneratorRunnerOptions
 
setKeyClass(ClassTemplateSpec) - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
setKeyCustomInfo(CustomInfoSpec) - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
setKeyDataClass(ClassTemplateSpec) - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
setKeySchema(DataSchema) - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
setValueClass(ClassTemplateSpec) - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
setValueDataClass(ClassTemplateSpec) - Method in class org.coursera.courier.api.CourierMapTemplateSpec
 
stringToDocComment(String, DocCommentStyle) - Static method in class org.coursera.courier.lang.DocEscaping
Returns a doc comment, as a string of source, for the given documentation string and deprecated property.

T

toFile(File) - Method in class org.coursera.courier.api.GeneratedCodeTargetFile
 
TypedDefinitions - Class in org.coursera.courier.schema
Provides utilities to: - Identify if a type definition has been registered with a Pegasus union schema.
TypedDefinitions() - Constructor for class org.coursera.courier.schema.TypedDefinitions
 

V

valueOf(String) - Static method in enum org.coursera.courier.lang.DocCommentStyle
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.coursera.courier.lang.DocCommentStyle
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G I L M N O P R S T V