public class JStackTraceElement
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
JStackTraceElement.Builder
RecordBuilder for JStackTraceElement instances.
|
Modifier and Type | Field and Description |
---|---|
String |
className
Deprecated.
|
JFileLocation |
location
Deprecated.
|
String |
methodName
Deprecated.
|
JPackageInfo |
packageInfo
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
JStackTraceElement()
Default constructor.
|
JStackTraceElement(String className,
String methodName,
JFileLocation location,
JPackageInfo packageInfo)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
String |
getClassName()
Gets the value of the 'className' field.
|
static org.apache.avro.Schema |
getClassSchema() |
JFileLocation |
getLocation()
Gets the value of the 'location' field.
|
String |
getMethodName()
Gets the value of the 'methodName' field.
|
JPackageInfo |
getPackageInfo()
Gets the value of the 'packageInfo' field.
|
org.apache.avro.Schema |
getSchema() |
static JStackTraceElement.Builder |
newBuilder()
Creates a new JStackTraceElement RecordBuilder.
|
static JStackTraceElement.Builder |
newBuilder(JStackTraceElement.Builder other)
Creates a new JStackTraceElement RecordBuilder by copying an existing Builder.
|
static JStackTraceElement.Builder |
newBuilder(JStackTraceElement other)
Creates a new JStackTraceElement RecordBuilder by copying an existing JStackTraceElement instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setClassName(String value)
Sets the value of the 'className' field.
|
void |
setLocation(JFileLocation value)
Sets the value of the 'location' field.
|
void |
setMethodName(String value)
Sets the value of the 'methodName' field.
|
void |
setPackageInfo(JPackageInfo value)
Sets the value of the 'packageInfo' field.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String className
@Deprecated public String methodName
@Deprecated public JFileLocation location
@Deprecated public JPackageInfo packageInfo
public JStackTraceElement()
newBuilder()
.public JStackTraceElement(String className, String methodName, JFileLocation location, JPackageInfo packageInfo)
className
- java class namemethodName
- java method namelocation
- locationpackageInfo
- package infopublic 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 String getClassName()
public void setClassName(String value)
value
- the value to set.public String getMethodName()
public void setMethodName(String value)
value
- the value to set.public JFileLocation getLocation()
public void setLocation(JFileLocation value)
value
- the value to set.public JPackageInfo getPackageInfo()
public void setPackageInfo(JPackageInfo value)
value
- the value to set.public static JStackTraceElement.Builder newBuilder()
public static JStackTraceElement.Builder newBuilder(JStackTraceElement.Builder other)
other
- The existing builder to copy.public static JStackTraceElement.Builder newBuilder(JStackTraceElement other)
other
- The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
public void readExternal(ObjectInput in) throws IOException
readExternal
in interface Externalizable
readExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
Copyright © 2018 SPF4J. All rights reserved.