Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
b54f4b87
Commit
b54f4b87
authored
7 years ago
by
Madhan Neethiraj
Committed by
Sarath Subramanian
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2074: AtlasType.resolveReferences() method made package-private
Signed-off-by:
Sarath Subramanian
<
ssubramanian@hortonworks.com
>
parent
14962573
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
16 deletions
+16
-16
AtlasArrayType.java
intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java
+1
-1
AtlasClassificationType.java
...n/java/org/apache/atlas/type/AtlasClassificationType.java
+3
-3
AtlasEntityType.java
.../src/main/java/org/apache/atlas/type/AtlasEntityType.java
+3
-3
AtlasEnumType.java
intg/src/main/java/org/apache/atlas/type/AtlasEnumType.java
+1
-1
AtlasMapType.java
intg/src/main/java/org/apache/atlas/type/AtlasMapType.java
+1
-1
AtlasRelationshipType.java
...ain/java/org/apache/atlas/type/AtlasRelationshipType.java
+2
-2
AtlasStructType.java
.../src/main/java/org/apache/atlas/type/AtlasStructType.java
+2
-2
AtlasType.java
intg/src/main/java/org/apache/atlas/type/AtlasType.java
+3
-3
No files found.
intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java
View file @
b54f4b87
...
...
@@ -106,7 +106,7 @@ public class AtlasArrayType extends AtlasType {
}
@Override
public
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
elementType
=
typeRegistry
.
getType
(
elementTypeName
);
}
...
...
This diff is collapsed.
Click to expand it.
intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java
View file @
b54f4b87
...
...
@@ -69,7 +69,7 @@ public class AtlasClassificationType extends AtlasStructType {
public
AtlasClassificationDef
getClassificationDef
()
{
return
classificationDef
;
}
@Override
public
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
super
.
resolveReferences
(
typeRegistry
);
List
<
AtlasClassificationType
>
s
=
new
ArrayList
<>();
...
...
@@ -100,7 +100,7 @@ public class AtlasClassificationType extends AtlasStructType {
}
@Override
public
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
super
.
resolveReferencesPhase2
(
typeRegistry
);
for
(
String
superTypeName
:
allSuperTypes
)
{
...
...
@@ -110,7 +110,7 @@ public class AtlasClassificationType extends AtlasStructType {
}
@Override
public
void
resolveReferencesPhase3
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferencesPhase3
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
allSubTypes
=
Collections
.
unmodifiableSet
(
allSubTypes
);
typeAndAllSubTypes
=
Collections
.
unmodifiableSet
(
typeAndAllSubTypes
);
typeAndAllSubTypesQryStr
=
""
;
// will be computed on next access
...
...
This diff is collapsed.
Click to expand it.
intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java
View file @
b54f4b87
...
...
@@ -75,7 +75,7 @@ public class AtlasEntityType extends AtlasStructType {
public
AtlasEntityDef
getEntityDef
()
{
return
entityDef
;
}
@Override
public
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
super
.
resolveReferences
(
typeRegistry
);
List
<
AtlasEntityType
>
s
=
new
ArrayList
<>();
...
...
@@ -111,7 +111,7 @@ public class AtlasEntityType extends AtlasStructType {
}
@Override
public
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
super
.
resolveReferencesPhase2
(
typeRegistry
);
for
(
String
superTypeName
:
allSuperTypes
)
{
...
...
@@ -121,7 +121,7 @@ public class AtlasEntityType extends AtlasStructType {
}
@Override
public
void
resolveReferencesPhase3
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferencesPhase3
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
for
(
AtlasAttributeDef
attributeDef
:
getStructDef
().
getAttributeDefs
())
{
String
attributeName
=
attributeDef
.
getName
();
AtlasType
attributeType
=
typeRegistry
.
getType
(
attributeDef
.
getTypeName
());
...
...
This diff is collapsed.
Click to expand it.
intg/src/main/java/org/apache/atlas/type/AtlasEnumType.java
View file @
b54f4b87
...
...
@@ -62,7 +62,7 @@ public class AtlasEnumType extends AtlasType {
public
AtlasEnumDef
getEnumDef
()
{
return
enumDef
;
}
@Override
public
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
}
@Override
...
...
This diff is collapsed.
Click to expand it.
intg/src/main/java/org/apache/atlas/type/AtlasMapType.java
View file @
b54f4b87
...
...
@@ -86,7 +86,7 @@ public class AtlasMapType extends AtlasType {
}
@Override
public
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
this
.
keyType
=
typeRegistry
.
getType
(
keyTypeName
);
this
.
valueType
=
typeRegistry
.
getType
(
valueTypeName
);
}
...
...
This diff is collapsed.
Click to expand it.
intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java
View file @
b54f4b87
...
...
@@ -60,7 +60,7 @@ public class AtlasRelationshipType extends AtlasStructType {
public
AtlasRelationshipDef
getRelationshipDef
()
{
return
relationshipDef
;
}
@Override
public
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
super
.
resolveReferences
(
typeRegistry
);
if
(
relationshipDef
==
null
)
{
...
...
@@ -91,7 +91,7 @@ public class AtlasRelationshipType extends AtlasStructType {
}
@Override
public
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
super
.
resolveReferencesPhase2
(
typeRegistry
);
AtlasRelationshipEndDef
endDef1
=
relationshipDef
.
getEndDef1
();
...
...
This diff is collapsed.
Click to expand it.
intg/src/main/java/org/apache/atlas/type/AtlasStructType.java
View file @
b54f4b87
...
...
@@ -81,7 +81,7 @@ public class AtlasStructType extends AtlasType {
}
@Override
public
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
Map
<
String
,
AtlasAttribute
>
a
=
new
HashMap
<>();
for
(
AtlasAttributeDef
attributeDef
:
structDef
.
getAttributeDefs
())
{
...
...
@@ -164,7 +164,7 @@ public class AtlasStructType extends AtlasType {
}
@Override
public
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
super
.
resolveReferencesPhase2
(
typeRegistry
);
for
(
AtlasAttribute
attribute
:
allAttributes
.
values
())
{
if
(
attribute
.
getInverseRefAttributeName
()
==
null
)
{
...
...
This diff is collapsed.
Click to expand it.
intg/src/main/java/org/apache/atlas/type/AtlasType.java
View file @
b54f4b87
...
...
@@ -51,13 +51,13 @@ public abstract class AtlasType {
this
.
typeCategory
=
typeCategory
;
}
public
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferences
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
}
public
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferencesPhase2
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
}
public
void
resolveReferencesPhase3
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
void
resolveReferencesPhase3
(
AtlasTypeRegistry
typeRegistry
)
throws
AtlasBaseException
{
}
public
String
getTypeName
()
{
return
typeName
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment