- immutableSortedMapOf(byte[], T) - Static method in class co.cask.cdap.api.common.Bytes
-
Deprecated.
This method will be removed in future release
- immutableSortedMapOf(byte[], T, byte[], T) - Static method in class co.cask.cdap.api.common.Bytes
-
Deprecated.
This method will be removed in future release
- incrementBytes(byte[], long) - Static method in class co.cask.cdap.api.common.Bytes
-
Bytewise binary increment/deincrement of long contained in byte array
on given amount.
- initialize(FormatSpecification) - Method in class co.cask.cdap.api.data.format.RecordFormat
-
Initialize the format with the given desired schema and properties.
- isCompatible(Schema) - Method in class co.cask.cdap.api.data.schema.Schema
-
Checks if the given target schema is compatible with this schema, meaning datum being written with this
schema could be projected correctly into the given target schema.
- isNullable() - Method in class co.cask.cdap.api.data.schema.Schema
-
Check if this is a nullable type, which is a union of a null and one other non-null type.
- isNullableSimple() - Method in class co.cask.cdap.api.data.schema.Schema
-
Check if this is a nullable simple type, which is a union of a null and one other non-null simple type, where
a simple type is a boolean, int, long, float, double, bytes, or string type.
- isSimpleOrNullableSimple() - Method in class co.cask.cdap.api.data.schema.Schema
-
Check if this is a simple type or a nullable simple type, which is a union of a null and one other non-null
simple type, where a simple type is a boolean, int, long, float, double, bytes, or string type.
- isSimpleType() - Method in enum co.cask.cdap.api.data.schema.Schema.Type
-
- iterateOnSplits(byte[], byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Iterate over keys within the passed range, splitting at an [a,b) boundary.
- iterateOnSplits(byte[], byte[], boolean, int) - Static method in class co.cask.cdap.api.common.Bytes
-
Iterate over keys within the passed range.
- padHead(byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Return a byte array with value in a plus length prepended 0 bytes.
- padTail(byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Return a byte array with value in a plus length appended 0 bytes.
- parse() - Method in class co.cask.cdap.internal.io.SQLSchemaParser
-
- parseJson(String) - Static method in class co.cask.cdap.api.data.schema.Schema
-
Parse the given JSON representation, as returned by
Schema.toString() into a Schema object.
- parseJson(Reader) - Static method in class co.cask.cdap.api.data.schema.Schema
-
Parse the given json representation of a schema object contained in a reader into a schema object.
- parseSQL(String) - Static method in class co.cask.cdap.api.data.schema.Schema
-
Parse the given sql-like schema representation into a schema object.
- putBigDecimal(byte[], int, BigDecimal) - Static method in class co.cask.cdap.api.common.Bytes
-
Put a BigDecimal value out to the specified byte array position.
- putByte(byte[], int, byte) - Static method in class co.cask.cdap.api.common.Bytes
-
Write a single byte out to the specified byte array position.
- putBytes(byte[], int, byte[], int, int) - Static method in class co.cask.cdap.api.common.Bytes
-
Put bytes at the specified byte array position.
- putDouble(byte[], int, double) - Static method in class co.cask.cdap.api.common.Bytes
-
Put a double value out to the specified byte array position.
- putFloat(byte[], int, float) - Static method in class co.cask.cdap.api.common.Bytes
-
Put a float value out to the specified byte array position.
- putInt(byte[], int, int) - Static method in class co.cask.cdap.api.common.Bytes
-
Put an int value out to the specified byte array position.
- putLong(byte[], int, long) - Static method in class co.cask.cdap.api.common.Bytes
-
Put a long value out to the specified byte array position.
- putShort(byte[], int, short) - Static method in class co.cask.cdap.api.common.Bytes
-
Put a short value out to the specified byte array position.
- schema - Variable in class co.cask.cdap.api.data.format.RecordFormat
-
- Schema - Class in co.cask.cdap.api.data.schema
-
This class represents schema of data types.
- Schema.Field - Class in co.cask.cdap.api.data.schema
-
- Schema.Type - Enum in co.cask.cdap.api.data.schema
-
Types known to Schema.
- SchemaHash - Class in co.cask.cdap.api.data.schema
-
- SchemaHash(Schema) - Constructor for class co.cask.cdap.api.data.schema.SchemaHash
-
- SchemaHash(ByteBuffer) - Constructor for class co.cask.cdap.api.data.schema.SchemaHash
-
Creates a SchemaHash by reading the hash value from the given
ByteBuffer.
- SchemaTypeAdapter - Class in co.cask.cdap.internal.io
-
Class for serialize/deserialize Schema object to/from json through Gson.
- SchemaTypeAdapter() - Constructor for class co.cask.cdap.internal.io.SchemaTypeAdapter
-
- set(String, Object) - Method in class co.cask.cdap.api.data.format.StructuredRecord.Builder
-
Set the field to the given value.
- setKey(K) - Method in class co.cask.cdap.api.stream.StreamEventDecoder.DecodeResult
-
- setValue(V) - Method in class co.cask.cdap.api.stream.StreamEventDecoder.DecodeResult
-
- SIZEOF_BOOLEAN - Static variable in class co.cask.cdap.api.common.Bytes
-
Size of boolean in bytes.
- SIZEOF_BYTE - Static variable in class co.cask.cdap.api.common.Bytes
-
Size of byte in bytes.
- SIZEOF_CHAR - Static variable in class co.cask.cdap.api.common.Bytes
-
Size of char in bytes.
- SIZEOF_DOUBLE - Static variable in class co.cask.cdap.api.common.Bytes
-
Size of double in bytes.
- SIZEOF_FLOAT - Static variable in class co.cask.cdap.api.common.Bytes
-
Size of float in bytes.
- SIZEOF_INT - Static variable in class co.cask.cdap.api.common.Bytes
-
Size of int in bytes.
- SIZEOF_LONG - Static variable in class co.cask.cdap.api.common.Bytes
-
Size of long in bytes.
- SIZEOF_SHORT - Static variable in class co.cask.cdap.api.common.Bytes
-
Size of short in bytes.
- split(byte[], byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Split passed range.
- split(byte[], byte[], boolean, int) - Static method in class co.cask.cdap.api.common.Bytes
-
Split passed range.
- SQLSchemaParser - Class in co.cask.cdap.internal.io
-
Parses a SQL like schema into a
Schema.
- SQLSchemaParser(String) - Constructor for class co.cask.cdap.internal.io.SQLSchemaParser
-
- startsWith(byte[], byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Return true if the byte array on the right is a prefix of the byte
array on the left.
- stopKeyForPrefix(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Returns the given prefix, incremented by one, in the form that will be suitable for prefix matching.
- StreamEvent - Class in co.cask.cdap.api.flow.flowlet
-
Represents single event from a stream.
- StreamEvent() - Constructor for class co.cask.cdap.api.flow.flowlet.StreamEvent
-
Creates an instance with empty body and empty headers.
- StreamEvent(ByteBuffer) - Constructor for class co.cask.cdap.api.flow.flowlet.StreamEvent
-
Creates an instance with the given body and empty headers.
- StreamEvent(Map<String, String>, ByteBuffer) - Constructor for class co.cask.cdap.api.flow.flowlet.StreamEvent
-
Creates an instance with the given headers and body and current time as the event timestamp.
- StreamEvent(StreamEventData, long) - Constructor for class co.cask.cdap.api.flow.flowlet.StreamEvent
-
- StreamEvent(StreamEvent) - Constructor for class co.cask.cdap.api.flow.flowlet.StreamEvent
-
Creates an instance that copies from the another
StreamEvent.
- StreamEvent(Map<String, String>, ByteBuffer, long) - Constructor for class co.cask.cdap.api.flow.flowlet.StreamEvent
-
Creates an instance with the given headers, body and timestamp.
- StreamEventData - Class in co.cask.cdap.api.stream
-
Represents data in one stream event.
- StreamEventData(Map<String, String>, ByteBuffer) - Constructor for class co.cask.cdap.api.stream.StreamEventData
-
- StreamEventDecoder<K,V> - Interface in co.cask.cdap.api.stream
-
Represents decoder that turns
StreamEvent into key value pair.
- StreamEventDecoder.DecodeResult<K,V> - Class in co.cask.cdap.api.stream
-
Represents the decoded result pair.
- StreamEventDecoder.DecodeResult() - Constructor for class co.cask.cdap.api.stream.StreamEventDecoder.DecodeResult
-
- StructuredRecord - Class in co.cask.cdap.api.data.format
-
Instance of a record structured by a
Schema.
- StructuredRecord.Builder - Class in co.cask.cdap.api.data.format
-
- SYSLOG - Static variable in class co.cask.cdap.api.data.format.Formats
-
- tail(byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Returns last length bytes from byte array.
- TEXT - Static variable in class co.cask.cdap.api.data.format.Formats
-
- toBigDecimal(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to a BigDecimal.
- toBigDecimal(byte[], int, int) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to a BigDecimal value.
- toBinaryFromHex(byte) - Static method in class co.cask.cdap.api.common.Bytes
-
Takes a ASCII digit in the range A-F0-9 and returns
the corresponding integer/ordinal value.
- toBoolean(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
- toByteArray() - Method in class co.cask.cdap.api.data.schema.SchemaHash
-
- toByteArrays(String[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Returns an array of byte arrays made from passed array of Text.
- toByteArrays(String) - Static method in class co.cask.cdap.api.common.Bytes
-
Returns an array of byte arrays where first and only entry is.
- toByteArrays(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Returns an array of byte arrays where first and only entry is.
- toBytes(ByteBuffer) - Static method in class co.cask.cdap.api.common.Bytes
-
Returns a new byte array, copied from the passed ByteBuffer.
- toBytes(String) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a string to a UTF-8 byte array.
- toBytes(boolean) - Static method in class co.cask.cdap.api.common.Bytes
-
Convert a boolean to a byte array.
- toBytes(long) - Static method in class co.cask.cdap.api.common.Bytes
-
Convert a long value to a byte array using big-endian.
- toBytes(float) - Static method in class co.cask.cdap.api.common.Bytes
-
- toBytes(double) - Static method in class co.cask.cdap.api.common.Bytes
-
Serialize a double as the IEEE 754 double format output.
- toBytes(int) - Static method in class co.cask.cdap.api.common.Bytes
-
Convert an int value to a byte array.
- toBytes(short) - Static method in class co.cask.cdap.api.common.Bytes
-
- toBytes(BigDecimal) - Static method in class co.cask.cdap.api.common.Bytes
-
Convert a BigDecimal value to a byte array.
- toBytes(UUID) - Static method in class co.cask.cdap.api.common.Bytes
-
Returns a copy of the byte representation of the given UUID.
- toBytesBinary(String) - Static method in class co.cask.cdap.api.common.Bytes
-
- toDouble(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Return double made from passed bytes.
- toDouble(byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Return double made from passed bytes.
- toFloat(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Presumes float encoded as IEEE 754 floating-point "single format".
- toFloat(byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Presumes float encoded as IEEE 754 floating-point "single format".
- toHexString(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Returns a string containing each byte, in order, as a two-digit unsigned
hexadecimal number in lower case.
- toInt(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to an int value.
- toInt(byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to an int value.
- toInt(byte[], int, int) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to an int value.
- toLong(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to a long value.
- toLong(byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to a long value.
- toLong(byte[], int, int) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to a long value.
- toShort(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to a short value.
- toShort(byte[], int) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to a short value.
- toShort(byte[], int, int) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts a byte array to a short value.
- toString(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
This method will convert utf8 encoded bytes into a string.
- toString(byte[], String, byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Joins two byte arrays together using a separator.
- toString(byte[], int, int) - Static method in class co.cask.cdap.api.common.Bytes
-
This method will convert utf8 encoded bytes into a string.
- toString(ByteBuffer) - Static method in class co.cask.cdap.api.common.Bytes
-
This method will convert the remaining bytes of a UTF8
encoded byte buffer into a string.
- toString(ByteBuffer, Charset) - Static method in class co.cask.cdap.api.common.Bytes
-
This method will convert the remaining bytes of an
encoded byte buffer into a string of the given charset.
- toString() - Method in class co.cask.cdap.api.data.format.FormatSpecification
-
- toString() - Method in class co.cask.cdap.api.data.schema.Schema.Field
-
- toString() - Method in class co.cask.cdap.api.data.schema.Schema
-
- toString() - Method in class co.cask.cdap.api.data.schema.SchemaHash
-
- toStringBinary(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Write a printable representation of a byte array.
- toStringBinary(ByteBuffer) - Static method in class co.cask.cdap.api.common.Bytes
-
Converts the given byte buffer, from its array offset to its limit, to
a string.
- toStringBinary(byte[], int, int) - Static method in class co.cask.cdap.api.common.Bytes
-
Write a printable representation of a byte array.
- toUUID(byte[]) - Static method in class co.cask.cdap.api.common.Bytes
-
Convert the given byte representation of a UUID into a UUID.
- TSV - Static variable in class co.cask.cdap.api.data.format.Formats
-