Examining Schemas in Java

An example that demonstrates how to work with schemas in Java.

Name

Example_07_ExploringStreamSchema

Description

This example demonstrates how to read the schema of a stream or row, create a schema, and compare two schemas.

Notable Classes and Methods

Schema

engineClient.getStreamSchema(cclUri)

t.getSchema()

SchemaFactory

sf.newSchema

SchemaColumn

schema.toCclDefinition

schema1.equivalentTo

Related Information

For more information about schemas, see Schema.