UTF8ByteArrayUtils and
StreamKeyValUtil insteadpublic class UTF8ByteArrayUtils
extends java.lang.Object
| Constructor and Description |
|---|
UTF8ByteArrayUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
findByte(byte[] utf,
int start,
int end,
byte b)
Deprecated.
use
UTF8ByteArrayUtils.findByte(byte[], int,
int, byte) |
static int |
findBytes(byte[] utf,
int start,
int end,
byte[] b)
Deprecated.
use
UTF8ByteArrayUtils.findBytes(byte[], int,
int, byte[]) |
static int |
findNthByte(byte[] utf,
byte b,
int n)
Deprecated.
use
UTF8ByteArrayUtils.findNthByte(byte[],
byte, int) |
static int |
findNthByte(byte[] utf,
int start,
int length,
byte b,
int n)
Deprecated.
use
UTF8ByteArrayUtils.findNthByte(byte[], int,
int, byte, int) |
static int |
findTab(byte[] utf)
Deprecated.
|
static int |
findTab(byte[] utf,
int start,
int length)
Deprecated.
|
static int |
readLine(org.apache.hadoop.util.LineReader lineReader,
org.apache.hadoop.io.Text out)
Deprecated.
|
static void |
splitKeyVal(byte[] utf,
int start,
int length,
org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text val,
int splitPos)
Deprecated.
|
static void |
splitKeyVal(byte[] utf,
int start,
int length,
org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text val,
int splitPos,
int separatorLength)
|
static void |
splitKeyVal(byte[] utf,
org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text val,
int splitPos)
Deprecated.
|
static void |
splitKeyVal(byte[] utf,
org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text val,
int splitPos,
int separatorLength)
Deprecated.
|
@Deprecated
public static int findTab(byte[] utf,
int start,
int length)
StreamKeyValUtil.findTab(byte[], int, int)utf - a byte array containing a UTF-8 encoded stringstart - starting offsetlength - no. of bytes@Deprecated
public static int findByte(byte[] utf,
int start,
int end,
byte b)
UTF8ByteArrayUtils.findByte(byte[], int,
int, byte)utf - a byte array containing a UTF-8 encoded stringstart - starting offsetend - ending positionb - the byte to find@Deprecated
public static int findBytes(byte[] utf,
int start,
int end,
byte[] b)
UTF8ByteArrayUtils.findBytes(byte[], int,
int, byte[])utf - a byte array containing a UTF-8 encoded stringstart - starting offsetend - ending positionb - the bytes to find@Deprecated
public static int findNthByte(byte[] utf,
int start,
int length,
byte b,
int n)
UTF8ByteArrayUtils.findNthByte(byte[], int,
int, byte, int)utf - a byte array containing a UTF-8 encoded stringstart - starting offsetlength - the length of byte arrayb - the byte to findn - the desired occurrence of the given byte@Deprecated
public static int findNthByte(byte[] utf,
byte b,
int n)
UTF8ByteArrayUtils.findNthByte(byte[],
byte, int)utf - a byte array containing a UTF-8 encoded stringb - the byte to findn - the desired occurrence of the given byte@Deprecated public static int findTab(byte[] utf)
StreamKeyValUtil.findTab(byte[])utf - a byte array containing a UTF-8 encoded string@Deprecated
public static void splitKeyVal(byte[] utf,
int start,
int length,
org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text val,
int splitPos,
int separatorLength)
throws java.io.IOException
utf - utf-8 encoded stringstart - starting offsetlength - no. of byteskey - contains key upon the method is returnedval - contains value upon the method is returnedsplitPos - the split posseparatorLength - the length of the separator between key and valuejava.io.IOException@Deprecated
public static void splitKeyVal(byte[] utf,
int start,
int length,
org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text val,
int splitPos)
throws java.io.IOException
StreamKeyValUtil.splitKeyVal(byte[], int, int, Text, Text, int)utf - utf-8 encoded stringstart - starting offsetlength - no. of byteskey - contains key upon the method is returnedval - contains value upon the method is returnedsplitPos - the split posjava.io.IOException@Deprecated
public static void splitKeyVal(byte[] utf,
org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text val,
int splitPos,
int separatorLength)
throws java.io.IOException
StreamKeyValUtil.splitKeyVal(byte[], Text, Text, int, int)utf - utf-8 encoded stringkey - contains key upon the method is returnedval - contains value upon the method is returnedsplitPos - the split posseparatorLength - the length of the separator between key and valuejava.io.IOException@Deprecated
public static void splitKeyVal(byte[] utf,
org.apache.hadoop.io.Text key,
org.apache.hadoop.io.Text val,
int splitPos)
throws java.io.IOException
StreamKeyValUtil.splitKeyVal(byte[], Text, Text, int)utf - utf-8 encoded stringkey - contains key upon the method is returnedval - contains value upon the method is returnedsplitPos - the split posjava.io.IOException@Deprecated
public static int readLine(org.apache.hadoop.util.LineReader lineReader,
org.apache.hadoop.io.Text out)
throws java.io.IOException
StreamKeyValUtil.readLine(LineReader, Text)lineReader - LineReader to read the line from.out - Text to read intojava.io.IOExceptionCopyright © 2009 The Apache Software Foundation