Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
internal class CodeGeneratorImpl(typeRendering: TypeRenderingStrategy = FullyQualifiedNames) : ExtensionsCodeGeneratorImpl, CodeGenerator
Link copied to clipboard
Link copied to clipboard
internal open class ExtensionsCodeGeneratorImpl(typeRendering: TypeRenderingStrategy) : ExtensionsCodeGenerator, TypeRenderingStrategy
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal class SchemaProcessorImpl(existingMarkers: Iterable<Marker>, val namePrefix: String, fieldNameNormalizer: (String) -> String = { it }, nestedMarkerNameProvider: MarkerNameProvider = MarkerNameProvider.fromColumnName) : SchemaProcessor
Link copied to clipboard
Link copied to clipboard
Strategy to render types. Instances include FullyQualifiedNames and ShortNames.
Properties
Link copied to clipboard
Link copied to clipboard
val CodeGenerator.Companion.urlCodeGenReader: (url: URL, name: String, formats: List<SupportedFormat>, generateHelperCompanionObject: Boolean) -> CodeGenerationReadResult
Reader that can read data from a URL and generate code (type schema representations) for it. It tries to guess the format based on the given formats and returns CodeGenerationReadResult.Success, or returns CodeGenerationReadResult.Error if it fails.
Link copied to clipboard
Reader that can read a dataframe from a URL. It tries to guess the format based on the given formats and returns DfReadResult.Success, or returns DfReadResult.Error if it fails.
Functions
Link copied to clipboard
internal fun createCodeWithTypeCastGenerator(code: String, vararg targetTypeNames: String): CodeWithTypeCastGenerator
Simple utility function that creates a CodeWithTypeCastGenerator using code and TypeCastGenerator.DataFrameApi, meaning it uses the cast functions of DataFrame.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CodeWithTypeCastGenerator.toStandaloneSnippet(packageName: String, additionalImports: List<String>): String