TO: Genius Cassandra's developers,
how to solve the 3 compile errors in AbstractRow.java?
The 3 errors are all because the only 1 line code:
" sb.append(StreamSupport.stream(complexData.spliterator(), false)
.map(transform != null ? transform :
cell -> "")
.collect(Collectors.joining(", ",
"{", "}")));"
the 1st compile error is
"
The method map(Function<? super Cell,? extends R>) in the type Stream<Cell> is
not applicable for the arguments (((transform != null) ? transform : (<no type>
cell) -> "")) AbstractRow.java
/cassandra-trunk/src/java/org/apache/cassandra/db/rows line 183 Java
Problem
"
The other 2 compile errors are:
Type mismatch: cannot convert from Function<Cell,String> to Function<? super
Cell,? extends R> AbstractRow.java
Type mismatch: cannot convert from String to R AbstractRow.java
The fastest tempory solving method is commenting out the line, but what are the
bad effects ?
I would very appreciate your help!
Thank you!
Sincerely
Nimbuslin(Lin JiaXin)
Mobile: 0086 180 5986 1565
Mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]