public class TestPutHBaseJSON
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_COLUMN_FAMILY |
static java.lang.String |
DEFAULT_ROW |
static java.lang.String |
DEFAULT_TABLE_NAME |
static java.lang.Long |
DEFAULT_TIMESTAMP |
| Constructor and Description |
|---|
TestPutHBaseJSON() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAllElementsAreNullOrArrays() |
void |
testCustomValidate() |
void |
testELWithExtractedRowId() |
void |
testELWithProvidedRowId() |
void |
testInvalidJson() |
void |
testMultipleJsonDocsRouteToFailure() |
void |
testNestedDocWithTextStrategy() |
void |
testNullAndArrayElementsWithFailureStrategy() |
void |
testNullAndArrayElementsWithIgnoreStrategy() |
void |
testNullAndArrayElementsWithTextStrategy() |
void |
testNullAndArrayElementsWithWarnStrategy() |
void |
testSingJsonDocAndExtractedRowId() |
void |
testSingJsonDocAndExtractedRowIdMissingField() |
void |
testSingleJsonDocAndProvidedRowId() |
void |
testSingleJsonDocAndProvidedRowIdwithNonString() |
void |
testTimestamp() |
void |
testTimestampWithEL() |
public static final java.lang.String DEFAULT_TABLE_NAME
public static final java.lang.String DEFAULT_ROW
public static final java.lang.String DEFAULT_COLUMN_FAMILY
public static final java.lang.Long DEFAULT_TIMESTAMP
public void testCustomValidate()
throws InitializationException
InitializationExceptionpublic void testSingleJsonDocAndProvidedRowId()
throws java.io.IOException,
InitializationException
java.io.IOExceptionInitializationExceptionpublic void testSingleJsonDocAndProvidedRowIdwithNonString()
throws java.io.IOException,
InitializationException
java.io.IOExceptionInitializationExceptionpublic void testSingJsonDocAndExtractedRowId()
throws java.io.IOException,
InitializationException
java.io.IOExceptionInitializationExceptionpublic void testSingJsonDocAndExtractedRowIdMissingField()
throws java.io.IOException,
InitializationException
java.io.IOExceptionInitializationExceptionpublic void testMultipleJsonDocsRouteToFailure()
throws java.io.IOException,
InitializationException
java.io.IOExceptionInitializationExceptionpublic void testELWithProvidedRowId()
throws java.io.IOException,
InitializationException
java.io.IOExceptionInitializationExceptionpublic void testELWithExtractedRowId()
throws java.io.IOException,
InitializationException
java.io.IOExceptionInitializationExceptionpublic void testNullAndArrayElementsWithWarnStrategy()
throws InitializationException
InitializationExceptionpublic void testNullAndArrayElementsWithIgnoreStrategy()
throws InitializationException
InitializationExceptionpublic void testNullAndArrayElementsWithFailureStrategy()
throws InitializationException
InitializationExceptionpublic void testNullAndArrayElementsWithTextStrategy()
throws InitializationException
InitializationExceptionpublic void testNestedDocWithTextStrategy()
throws InitializationException
InitializationExceptionpublic void testAllElementsAreNullOrArrays()
throws InitializationException
InitializationExceptionpublic void testInvalidJson()
throws InitializationException
InitializationExceptionpublic void testTimestamp()
throws java.io.UnsupportedEncodingException,
InitializationException
java.io.UnsupportedEncodingExceptionInitializationExceptionpublic void testTimestampWithEL()
throws java.io.UnsupportedEncodingException,
InitializationException
java.io.UnsupportedEncodingExceptionInitializationException