-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaned up profiles, made it so for one profile it only compiles its …
…needed shim
- Loading branch information
Showing
9 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
json-serde-cdh4-shim/src/main/java/org/apache/hadoop/hive/serde2/AbstractSerDe.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package org.apache.hadoop.hive.serde2; | ||
|
||
import org.apache.hadoop.conf.Configuration; | ||
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector; | ||
import org.apache.hadoop.io.Writable; | ||
|
||
import java.util.Properties; | ||
|
||
import java.util.Properties; | ||
import org.apache.hadoop.conf.Configuration; | ||
import org.apache.hadoop.hive.serde2.SerDe; | ||
import org.apache.hadoop.hive.serde2.SerDeException; | ||
import org.apache.hadoop.hive.serde2.SerDeStats; | ||
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector; | ||
import org.apache.hadoop.io.Writable; | ||
|
||
public abstract class AbstractSerDe implements SerDe { | ||
public AbstractSerDe() { | ||
} | ||
|
||
public abstract void initialize(Configuration var1, Properties var2) throws SerDeException; | ||
|
||
public abstract Class<? extends Writable> getSerializedClass(); | ||
|
||
public abstract Writable serialize(Object var1, ObjectInspector var2) throws SerDeException; | ||
|
||
public abstract SerDeStats getSerDeStats(); | ||
|
||
public abstract Object deserialize(Writable var1) throws SerDeException; | ||
|
||
public abstract ObjectInspector getObjectInspector() throws SerDeException; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters