-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from Davidhua1996/dev-1.0.0
LGTM
- Loading branch information
Showing
20 changed files
with
378 additions
and
136 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
...re/src/main/java/com/webank/wedatasphere/exchangis/datasource/core/domain/MetaColumn.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,69 @@ | ||
package com.webank.wedatasphere.exchangis.datasource.core.domain; | ||
|
||
/** | ||
* Meta column | ||
*/ | ||
public class MetaColumn { | ||
|
||
/** | ||
* Column index | ||
*/ | ||
private int index = -1; | ||
|
||
/** | ||
* Is primary key | ||
*/ | ||
private boolean primaryKey; | ||
|
||
/** | ||
* Name | ||
*/ | ||
private String name; | ||
|
||
/** | ||
* Type symbol | ||
*/ | ||
private String type; | ||
|
||
public MetaColumn(){ | ||
|
||
} | ||
|
||
public MetaColumn(int index, String name, String type, boolean primaryKey){ | ||
this.index = index; | ||
this.name = name; | ||
this.type = type; | ||
this.primaryKey = primaryKey; | ||
} | ||
public int getIndex() { | ||
return index; | ||
} | ||
|
||
public void setIndex(int index) { | ||
this.index = index; | ||
} | ||
|
||
public boolean isPrimaryKey() { | ||
return primaryKey; | ||
} | ||
|
||
public void setPrimaryKey(boolean primaryKey) { | ||
this.primaryKey = primaryKey; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public void setType(String type) { | ||
this.type = type; | ||
} | ||
} |
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
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.