Package | Description |
---|---|
org.apache.reef.javabridge |
The Java-side of the CLR/Java bridge.
|
org.apache.reef.tang |
Public interfaces and factories for Tang's core API.
|
org.apache.reef.tang.formats |
Tang format classes encode and decode information that Tang gathers at
runtime.
|
org.apache.reef.tang.implementation |
Tang's implementation.
|
org.apache.reef.tang.implementation.avro |
Implementation classes that translate between Tang's core API and Avro.
|
org.apache.reef.tang.implementation.java |
Private implementation classes that configure and inject code written
in Java.
|
org.apache.reef.tang.implementation.protobuf |
Implementation classes that translate between Tang's core API and protocol
buffers.
|
Modifier and Type | Method and Description |
---|---|
static ClassHierarchy |
Utilities.loadClassHierarchy(String classHierarchyFile) |
Modifier and Type | Interface and Description |
---|---|
interface |
JavaClassHierarchy |
Modifier and Type | Method and Description |
---|---|
ClassHierarchy |
ClassHierarchySerializer.fromByteArray(byte[] theBytes)
Deserializes a ClassHierarchy from a byte[] created with toByteArray().
|
ClassHierarchy |
ClassHierarchySerializer.fromFile(File file)
Loads a ClassHierarchy from a file created with toFile().
|
ClassHierarchy |
ClassHierarchySerializer.fromString(String theString)
Deserializes a ClassHierarchy from a String created with toString().
|
ClassHierarchy |
ClassHierarchySerializer.fromTextFile(File file)
Loads a ClassHierarchy from a text file created with toTextFile().
|
ClassHierarchy |
ConfigurationBuilder.getClassHierarchy()
Each ConfigurationBuilder instance is associated with a ClassHierarchy.
|
ClassHierarchy |
Configuration.getClassHierarchy()
Configuration objects are associated with the ClassHierarchy objects that were used during validation.
|
ClassHierarchy |
ClassHierarchy.merge(ClassHierarchy ch)
Merge the contents of this ClassHierarchy and the provided one into a new
class hierarchy.
|
Modifier and Type | Method and Description |
---|---|
ClassHierarchy |
ClassHierarchy.merge(ClassHierarchy ch)
Merge the contents of this ClassHierarchy and the provided one into a new
class hierarchy.
|
ConfigurationBuilder |
Tang.newConfigurationBuilder(ClassHierarchy ch)
Return a new ConfigurationBuilder that is backed by the provided
ClassHierarchy object.
|
byte[] |
ClassHierarchySerializer.toByteArray(ClassHierarchy classHierarchy)
Serializes a ClassHierarchy as a byte[].
|
void |
ClassHierarchySerializer.toFile(ClassHierarchy classHierarchy,
File file)
Writes a ClassHierarchy into a file.
|
String |
ClassHierarchySerializer.toString(ClassHierarchy classHierarchy)
Serializes a ClassHierarchy as a String.
|
void |
ClassHierarchySerializer.toTextFile(ClassHierarchy classHierarchy,
File file)
Writes a ClassHierarchy into a text file.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
AvroConfigurationSerializer.fromAvro(AvroConfiguration avroConfiguration,
ClassHierarchy classHierarchy)
Converts a given AvroConfiguration to Configuration.
|
Configuration |
ConfigurationSerializer.fromByteArray(byte[] theBytes,
ClassHierarchy classHierarchy)
Loads a Configuration from a byte[] created with toByteArray().
|
Configuration |
AvroConfigurationSerializer.fromByteArray(byte[] theBytes,
ClassHierarchy classHierarchy) |
Configuration |
ConfigurationSerializer.fromFile(File file,
ClassHierarchy classHierarchy)
Loads a Configuration from a File created with toFile().
|
Configuration |
AvroConfigurationSerializer.fromFile(File file,
ClassHierarchy classHierarchy) |
Configuration |
ConfigurationSerializer.fromString(String theString,
ClassHierarchy classHierarchy)
Decodes a String generated via toString().
|
Configuration |
AvroConfigurationSerializer.fromString(String theString,
ClassHierarchy classHierarchy) |
Configuration |
ConfigurationSerializer.fromTextFile(File file,
ClassHierarchy classHierarchy)
Loads a Configuration from a File created with toFile() with ClassHierarchy.
|
Configuration |
AvroConfigurationSerializer.fromTextFile(File file,
ClassHierarchy classHierarchy) |
Modifier and Type | Method and Description |
---|---|
ClassHierarchy |
ConfigurationImpl.getClassHierarchy() |
ClassHierarchy |
ConfigurationBuilderImpl.getClassHierarchy() |
Modifier and Type | Method and Description |
---|---|
ConfigurationBuilder |
TangImpl.newConfigurationBuilder(ClassHierarchy ch) |
Modifier and Type | Method and Description |
---|---|
ClassHierarchy |
AvroClassHierarchySerializer.fromAvro(AvroNode n)
Deserialize the ClassHierarchy from the AvroNode.
|
ClassHierarchy |
AvroClassHierarchySerializer.fromByteArray(byte[] theBytes) |
ClassHierarchy |
AvroClassHierarchySerializer.fromFile(File file) |
ClassHierarchy |
AvroClassHierarchySerializer.fromString(String theString) |
ClassHierarchy |
AvroClassHierarchySerializer.fromTextFile(File file) |
Modifier and Type | Method and Description |
---|---|
AvroNode |
AvroClassHierarchySerializer.toAvro(ClassHierarchy ch)
Serialize the ClassHierarchy into the AvroNode.
|
byte[] |
AvroClassHierarchySerializer.toByteArray(ClassHierarchy classHierarchy) |
void |
AvroClassHierarchySerializer.toFile(ClassHierarchy classHierarchy,
File file) |
String |
AvroClassHierarchySerializer.toString(ClassHierarchy classHierarchy) |
void |
AvroClassHierarchySerializer.toTextFile(ClassHierarchy classHierarchy,
File file) |
Modifier and Type | Class and Description |
---|---|
class |
ClassHierarchyImpl |
Modifier and Type | Method and Description |
---|---|
ClassHierarchy |
ClassHierarchyImpl.merge(ClassHierarchy ch) |
Modifier and Type | Method and Description |
---|---|
ClassHierarchy |
ClassHierarchyImpl.merge(ClassHierarchy ch) |
Modifier and Type | Class and Description |
---|---|
class |
ProtocolBufferClassHierarchy
Deprecated.
in 0.12. Use AvroClassHierarchy instead
|
Modifier and Type | Method and Description |
---|---|
static ClassHierarchy |
ProtocolBufferClassHierarchy.deserialize(File file)
Deprecated.
in 0.12. Use AvroClassHierarchySerializer instead
|
ClassHierarchy |
ProtocolBufferClassHierarchy.merge(ClassHierarchy ch)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> InjectionPlan<T> |
ProtocolBufferInjectionPlan.deserialize(ClassHierarchy ch,
InjectionPlanProto.InjectionPlan ip) |
ClassHierarchy |
ProtocolBufferClassHierarchy.merge(ClassHierarchy ch)
Deprecated.
|
static ClassHierarchyProto.Node |
ProtocolBufferClassHierarchy.serialize(ClassHierarchy classHierarchy)
Deprecated.
in 0.12. Use AvroClassHierarchySerializer instead
|
static void |
ProtocolBufferClassHierarchy.serialize(File file,
ClassHierarchy classHierarchy)
Deprecated.
in 0.12. Use AvroClassHierarchySerializer instead
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.