forked from datavane/tis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b77dd3
commit d4e778f
Showing
23 changed files
with
222 additions
and
171 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,5 +24,6 @@ | |
**/ | ||
public | ||
interface RunningContext { | ||
|
||
public String getDbName(); | ||
public String getTable(); | ||
} |
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
55 changes: 0 additions & 55 deletions
55
tis-manage-pojo/src/main/java/com/qlangtech/tis/plugin/ds/IdlistElementCreatorFactory.java
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
|
||
import java.util.List; | ||
import java.util.Optional; | ||
import java.util.Properties; | ||
|
||
/** | ||
* @author: 百岁([email protected]) | ||
|
@@ -83,25 +84,29 @@ public HiveTable(String name) { | |
this.name = name; | ||
} | ||
|
||
public static class StoredAs { | ||
public static abstract class StoredAs { | ||
public final String inputFormat; | ||
public final String outputFormat; | ||
|
||
private final Object serdeInfo; | ||
// private final Object serdeInfo; | ||
|
||
/** | ||
* @param inputFormat | ||
* @param outputFormat | ||
* @param serdeInfo org.apache.hadoop.hive.metastore.api.SerdeInfo | ||
* // @param serdeInfo org.apache.hadoop.hive.metastore.api.SerdeInfo | ||
*/ | ||
public StoredAs(String inputFormat, String outputFormat, Object serdeInfo) { | ||
public StoredAs(String inputFormat, String outputFormat) { | ||
this.inputFormat = inputFormat; | ||
this.outputFormat = outputFormat; | ||
this.serdeInfo = serdeInfo; | ||
// this.serdeInfo = serdeInfo; | ||
} | ||
|
||
public <SerDeInfo> SerDeInfo getSerdeInfo() { | ||
return (SerDeInfo) serdeInfo; | ||
} | ||
public abstract Properties getSerdeProperties(HiveTable table); | ||
|
||
public abstract String getSerializationLib(); | ||
|
||
// public <SerDeInfo> SerDeInfo getSerdeInfo() { | ||
// return (SerDeInfo) serdeInfo; | ||
// } | ||
} | ||
} |
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
Oops, something went wrong.