|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SchemaEntry | |
|---|---|
| org.schemarepo | |
| org.schemarepo.json | |
| Uses of SchemaEntry in org.schemarepo |
|---|
| Methods in org.schemarepo that return SchemaEntry | |
|---|---|
SchemaEntry |
SchemaEntryCache.add(SchemaEntry entry)
Add the schema entry to this cache. |
SchemaEntry |
InMemorySchemaEntryCache.add(SchemaEntry entry)
|
SchemaEntry |
DelegatingSubject.latest()
|
abstract SchemaEntry |
Subject.latest()
Lookup the most recently registered schema for the given subject. |
SchemaEntry |
DelegatingSubject.lookupById(String id)
|
abstract SchemaEntry |
Subject.lookupById(String id)
Lookup the SchemaEntry for the given subject by id. |
SchemaEntry |
SchemaEntryCache.lookupById(String id)
Look up a schema entry by its id. |
SchemaEntry |
InMemorySchemaEntryCache.lookupById(String id)
|
SchemaEntry |
DelegatingSubject.lookupBySchema(String schema)
|
abstract SchemaEntry |
Subject.lookupBySchema(String schema)
Lookup the SchemaEntry for the given schema. |
SchemaEntry |
SchemaEntryCache.lookupBySchema(String schema)
Look up a schema entry by its full string form. |
SchemaEntry |
InMemorySchemaEntryCache.lookupBySchema(String schema)
|
SchemaEntry |
DelegatingSubject.register(String schema)
|
abstract SchemaEntry |
Subject.register(String schema)
If the provided schema has already been registered in this subject, return the id. |
SchemaEntry |
DelegatingSubject.registerIfLatest(String schema,
SchemaEntry latest)
|
abstract SchemaEntry |
Subject.registerIfLatest(String schema,
SchemaEntry latest)
Register the provided schema only if the current latest schema matches the provided latest entry. |
| Methods in org.schemarepo that return types with arguments of type SchemaEntry | |
|---|---|
Iterable<SchemaEntry> |
DelegatingSubject.allEntries()
|
abstract Iterable<SchemaEntry> |
Subject.allEntries()
List the ids of schemas registered with the given subject, ordered from most recent to oldest. |
static Iterable<SchemaEntry> |
RepositoryUtil.schemasFromString(String str)
Decode a string created by RepositoryUtil.schemasToString(Iterable) |
Iterable<SchemaEntry> |
InMemorySchemaEntryCache.values()
return all of the values in this cache |
| Methods in org.schemarepo with parameters of type SchemaEntry | |
|---|---|
SchemaEntry |
SchemaEntryCache.add(SchemaEntry entry)
Add the schema entry to this cache. |
SchemaEntry |
InMemorySchemaEntryCache.add(SchemaEntry entry)
|
SchemaEntry |
DelegatingSubject.registerIfLatest(String schema,
SchemaEntry latest)
|
abstract SchemaEntry |
Subject.registerIfLatest(String schema,
SchemaEntry latest)
Register the provided schema only if the current latest schema matches the provided latest entry. |
| Method parameters in org.schemarepo with type arguments of type SchemaEntry | |
|---|---|
static String |
RepositoryUtil.schemasToString(Iterable<SchemaEntry> allEntries)
Encode SchemaEntry objects into a String for use by
RepositoryUtil.schemasFromString(String) |
void |
Validator.validate(String schemaToValidate,
Iterable<SchemaEntry> schemasInOrder)
Validate that a schema is compatible with the schemas provided. |
| Uses of SchemaEntry in org.schemarepo.json |
|---|
| Methods in org.schemarepo.json that return types with arguments of type SchemaEntry | |
|---|---|
Iterable<SchemaEntry> |
GsonJsonUtil.schemasFromJson(String str)
|
Iterable<SchemaEntry> |
JsonUtil.schemasFromJson(String str)
Decode a string created by JsonUtil.schemasToJson(Iterable) |
| Method parameters in org.schemarepo.json with type arguments of type SchemaEntry | |
|---|---|
String |
GsonJsonUtil.schemasToJson(Iterable<SchemaEntry> allEntries)
|
String |
JsonUtil.schemasToJson(Iterable<SchemaEntry> allEntries)
Encode SchemaEntry objects into a String for use by
JsonUtil.schemasFromJson(String)
The format is an array of objects containing id and schema fields, for example:
[{"id": "0", "schema": "schema1"}, {"id": "2", "schema": "schema2"}] |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||