public class StandardSchemaIdentifier extends Object implements SchemaIdentifier
Modifier and Type | Class and Description |
---|---|
static class |
StandardSchemaIdentifier.Builder
Builder to create instances of SchemaIdentifier.
|
Modifier and Type | Field and Description |
---|---|
private Optional<String> |
branch |
private OptionalLong |
identifier |
private Optional<String> |
name |
private OptionalLong |
schemaVersionId |
private OptionalInt |
version |
EMPTY
Constructor and Description |
---|
StandardSchemaIdentifier(String name,
Long identifier,
Integer version,
Long schemaVersionId,
String branch) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Optional<String> |
getBranch() |
OptionalLong |
getIdentifier() |
Optional<String> |
getName() |
OptionalLong |
getSchemaVersionId() |
OptionalInt |
getVersion() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
builder
private final OptionalLong identifier
private final OptionalInt version
private final OptionalLong schemaVersionId
public Optional<String> getName()
getName
in interface SchemaIdentifier
public OptionalLong getIdentifier()
getIdentifier
in interface SchemaIdentifier
public OptionalInt getVersion()
getVersion
in interface SchemaIdentifier
public OptionalLong getSchemaVersionId()
getSchemaVersionId
in interface SchemaIdentifier
public Optional<String> getBranch()
getBranch
in interface SchemaIdentifier
Copyright © 2021 Apache NiFi Project. All rights reserved.