public class OpenSession
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
OpenSession.Builder
RecordBuilder for OpenSession instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
applicationName
Deprecated.
|
CharSequence |
applicationVersion
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
sessionId
Deprecated.
|
List<CharSequence> |
supportedObjects
Deprecated.
|
List<SupportedProtocol> |
supportedProtocols
Deprecated.
|
Constructor and Description |
---|
OpenSession()
Default constructor.
|
OpenSession(CharSequence applicationName,
CharSequence applicationVersion,
CharSequence sessionId,
List<SupportedProtocol> supportedProtocols,
List<CharSequence> supportedObjects)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
CharSequence |
getApplicationName()
Gets the value of the 'applicationName' field.
|
CharSequence |
getApplicationVersion()
Gets the value of the 'applicationVersion' field.
|
static org.apache.avro.Schema |
getClassSchema() |
org.apache.avro.Schema |
getSchema() |
CharSequence |
getSessionId()
Gets the value of the 'sessionId' field.
|
List<CharSequence> |
getSupportedObjects()
Gets the value of the 'supportedObjects' field.
|
List<SupportedProtocol> |
getSupportedProtocols()
Gets the value of the 'supportedProtocols' field.
|
static OpenSession.Builder |
newBuilder()
Creates a new OpenSession RecordBuilder
|
static OpenSession.Builder |
newBuilder(OpenSession.Builder other)
Creates a new OpenSession RecordBuilder by copying an existing Builder
|
static OpenSession.Builder |
newBuilder(OpenSession other)
Creates a new OpenSession RecordBuilder by copying an existing OpenSession instance
|
void |
put(int field$,
Object value$) |
void |
setApplicationName(CharSequence value)
Sets the value of the 'applicationName' field.
|
void |
setApplicationVersion(CharSequence value)
Sets the value of the 'applicationVersion' field.
|
void |
setSessionId(CharSequence value)
Sets the value of the 'sessionId' field.
|
void |
setSupportedObjects(List<CharSequence> value)
Sets the value of the 'supportedObjects' field.
|
void |
setSupportedProtocols(List<SupportedProtocol> value)
Sets the value of the 'supportedProtocols' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence applicationName
@Deprecated public CharSequence applicationVersion
@Deprecated public CharSequence sessionId
@Deprecated public List<SupportedProtocol> supportedProtocols
@Deprecated public List<CharSequence> supportedObjects
public OpenSession()
newBuilder()
.public OpenSession(CharSequence applicationName, CharSequence applicationVersion, CharSequence sessionId, List<SupportedProtocol> supportedProtocols, List<CharSequence> supportedObjects)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getApplicationName()
public void setApplicationName(CharSequence value)
value
- the value to set.public CharSequence getApplicationVersion()
public void setApplicationVersion(CharSequence value)
value
- the value to set.public CharSequence getSessionId()
public void setSessionId(CharSequence value)
value
- the value to set.public List<SupportedProtocol> getSupportedProtocols()
public void setSupportedProtocols(List<SupportedProtocol> value)
value
- the value to set.public List<CharSequence> getSupportedObjects()
public void setSupportedObjects(List<CharSequence> value)
value
- the value to set.public static OpenSession.Builder newBuilder()
public static OpenSession.Builder newBuilder(OpenSession.Builder other)
public static OpenSession.Builder newBuilder(OpenSession other)
Copyright © 2023 Petroware AS - https://petroware.no