org.apache.avro.ipc
Class HandshakeResponse

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.apache.avro.ipc.HandshakeResponse
All Implemented Interfaces:
Comparable<SpecificRecord>, GenericContainer, IndexedRecord, SpecificRecord

public class HandshakeResponse
extends SpecificRecordBase
implements SpecificRecord


Nested Class Summary
static class HandshakeResponse.Builder
          RecordBuilder for HandshakeResponse instances.
 
Field Summary
 HandshakeMatch match
          Deprecated. 
 Map<String,ByteBuffer> meta
          Deprecated. 
static Schema SCHEMA$
           
 MD5 serverHash
          Deprecated. 
 String serverProtocol
          Deprecated. 
 
Constructor Summary
HandshakeResponse()
           
 
Method Summary
 Object get(int field$)
           
 HandshakeMatch getMatch()
          Gets the value of the 'match' field.
 Map<String,ByteBuffer> getMeta()
          Gets the value of the 'meta' field.
 Schema getSchema()
           
 MD5 getServerHash()
          Gets the value of the 'serverHash' field.
 String getServerProtocol()
          Gets the value of the 'serverProtocol' field.
static HandshakeResponse.Builder newBuilder()
          Creates a new HandshakeResponse RecordBuilder
static HandshakeResponse.Builder newBuilder(HandshakeResponse.Builder other)
          Creates a new HandshakeResponse RecordBuilder by copying an existing Builder
static HandshakeResponse.Builder newBuilder(HandshakeResponse other)
          Creates a new HandshakeResponse RecordBuilder by copying an existing HandshakeResponse instance
 void put(int field$, Object value$)
           
 void setMatch(HandshakeMatch value)
          Sets the value of the 'match' field.
 void setMeta(Map<String,ByteBuffer> value)
          Sets the value of the 'meta' field.
 void setServerHash(MD5 value)
          Sets the value of the 'serverHash' field.
 void setServerProtocol(String value)
          Sets the value of the 'serverProtocol' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final Schema SCHEMA$

match

@Deprecated
public HandshakeMatch match
Deprecated. 

serverProtocol

@Deprecated
public String serverProtocol
Deprecated. 

serverHash

@Deprecated
public MD5 serverHash
Deprecated. 

meta

@Deprecated
public Map<String,ByteBuffer> meta
Deprecated. 
Constructor Detail

HandshakeResponse

public HandshakeResponse()
Method Detail

getSchema

public Schema getSchema()
Specified by:
getSchema in interface GenericContainer
Specified by:
getSchema in class SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface IndexedRecord
Specified by:
get in class SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface IndexedRecord
Specified by:
put in class SpecificRecordBase

getMatch

public HandshakeMatch getMatch()
Gets the value of the 'match' field.


setMatch

public void setMatch(HandshakeMatch value)
Sets the value of the 'match' field.

Parameters:
value - the value to set.

getServerProtocol

public String getServerProtocol()
Gets the value of the 'serverProtocol' field.


setServerProtocol

public void setServerProtocol(String value)
Sets the value of the 'serverProtocol' field.

Parameters:
value - the value to set.

getServerHash

public MD5 getServerHash()
Gets the value of the 'serverHash' field.


setServerHash

public void setServerHash(MD5 value)
Sets the value of the 'serverHash' field.

Parameters:
value - the value to set.

getMeta

public Map<String,ByteBuffer> getMeta()
Gets the value of the 'meta' field.


setMeta

public void setMeta(Map<String,ByteBuffer> value)
Sets the value of the 'meta' field.

Parameters:
value - the value to set.

newBuilder

public static HandshakeResponse.Builder newBuilder()
Creates a new HandshakeResponse RecordBuilder


newBuilder

public static HandshakeResponse.Builder newBuilder(HandshakeResponse.Builder other)
Creates a new HandshakeResponse RecordBuilder by copying an existing Builder


newBuilder

public static HandshakeResponse.Builder newBuilder(HandshakeResponse other)
Creates a new HandshakeResponse RecordBuilder by copying an existing HandshakeResponse instance



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.