Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #860 which entailed a lot of refactoring of existing core and i…
…nternal interfaces with changes throughout the codebase.
- Loading branch information
1 parent
8f6404f
commit 38130d3
Showing
30 changed files
with
253 additions
and
283 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
5 changes: 2 additions & 3 deletions
5
titan-core/src/main/java/com/thinkaurelius/titan/core/TitanProperty.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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,18 +1,17 @@ | |||
package com.thinkaurelius.titan.core; | package com.thinkaurelius.titan.core; | ||
|
|
||
import org.apache.tinkerpop.gremlin.structure.Graph; | |||
import org.apache.tinkerpop.gremlin.structure.Property; | import org.apache.tinkerpop.gremlin.structure.Property; | ||
|
|
||
/** | /** | ||
* @author Matthias Broecheler (me@matthiasb.com) | * @author Matthias Broecheler (me@matthiasb.com) | ||
*/ | */ | ||
public interface TitanProperty<V> extends Property<V> { | public interface TitanProperty<V> extends Property<V> { | ||
|
|
||
public RelationType getType(); | public PropertyKey propertyKey(); | ||
|
|
||
@Override | @Override | ||
public default String key() { | public default String key() { | ||
return getType().name(); | return propertyKey().name(); | ||
} | } | ||
|
|
||
} | } |
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.