Toggle navigation
Home
org.neo4j.kernel.api.impl.schema.ValueEncoding.String to org.neo4j.kernel.api.impl.schema.ValueEncoding.String[]
No. of Instances - 48
No. of Commits - 13
No. of Projects - {'neo4j'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Rename Variable
address
to
addresses
address
to
addresses
address
to
addresses
address
to
addresses
role
to
roles
role
to
roles
role
to
roles
role
to
roles
propertyKey
to
propertyKeys
propertyKey
to
propertyKeys
propertyKey
to
propertyKeys
propertyKey
to
propertyKeys
propertyKey
to
propertyKeys
propertyKey
to
propertyKeys
propertyKey
to
propertyKeys
propertyKey
to
propertyKeys
propertyKey
to
propertyKeys
propertyKey
to
propertyKeys
property
to
properties
propertyKeyName
to
propertyKeyNames
propertyKeyName
to
propertyKeyNames
property
to
properties
property
to
properties
label
to
enetityTokens
label
to
tokenNames
label
to
tokenNames
label
to
tokenNames
PROP_KEY
to
PROP_KEYS
PROP_KEY
to
PROP_KEYS
Add or Remove Method invocation
propertyKey
to
Arrays.stream(propertyKeys).collect(Collectors.joining(","))
propertyKeys.byIdOrFail(next.getPropertyIds()[0])
to
propertyKeys.byIdOrFail(next.getPropertyIds())
either(matcher.group("simpleProperty"),matcher.group("complexProperty"))
to
properties
either(matcher.group("simpleLabel"),matcher.group("complexLabel"))
to
label
labels.byIdOrFail(next.keyId())
to
labels.byIdOrFail(next.getEntityTokenIds())
labels.byIdOrFail(next.keyId())
to
labels.byIdOrFail(next.getEntityTokenIds())
index.properties()
to
tokenNames
index.label()
to
index.schema()
SchemaDescriptorFactory
to
index.schema()
Other
propertyKey
to
propertyKeys[i]
propertyKeyName
to
propertyKeyNames[i]
PROP_KEY
to
PROP_KEYS[0]
PROP_KEY
to
PROP_KEYS[0]
Introduce Literal
"propertyKey"
to
key
Cascading Type Change (Similar)
Pair<String,String>
to
Pair<String,String[]>
String
to
String[]
Iterator<Pair<String,String>>
to
Iterator<Pair<String,String[]>>
String
to
String[]
String
to
String[]
Pair<String,String[]>
to
Pair<String[],String[]>
Iterator<Pair<String,String[]>>
to
Iterator<Pair<String[],String[]>>
Update Anonymous class
{ @Override public boolean hasNext(){ return iterator.hasNext(); } @Override public Pair<String,String> next(){ LabelSchemaDescriptor next=iterator.next(); String label=labels.byIdOrFail(next.getLabelId()); String propertyKey=propertyKeys.byIdOrFail(next.getPropertyIds()[0]); return Pair.of(label,propertyKey); } @Override public void remove(){ iterator.remove(); } }
to
{ @Override public boolean hasNext(){ return iterator.hasNext(); } @Override public Pair<String,String[]> next(){ LabelSchemaDescriptor next=iterator.next(); String label=labels.byIdOrFail(next.getLabelId()); String[] propertyKey=propertyKeys.byIdOrFail(next.getPropertyIds()); return Pair.of(label,propertyKey); } @Override public void remove(){ iterator.remove(); } }
Cascading Type Change (Different)
Pair<String,String[]>
to
Pair<String[],String[]>
Iterator<Pair<String,String[]>>
to
Iterator<Pair<String[],String[]>>
Wrap or Un-wrap
add
to
add