mirror of https://github.com/apache/cassandra
Rename class for DATE type in Java driver
patch by Robert Stupp; reviewed by Aleksey Yeschenko for CASSANDRA-9563
This commit is contained in:
parent
94be12c6fd
commit
a13399279b
|
|
@ -1,4 +1,5 @@
|
|||
2.2
|
||||
* Rename class for DATE type in Java driver (CASSANDRA-9563)
|
||||
* Duplicate compilation of UDFs on coordinator (CASSANDRA-9475)
|
||||
* Fix connection leak in CqlRecordWriter (CASSANDRA-9576)
|
||||
* Mlockall before opening system sstables & remove boot_without_jna option (CASSANDRA-9573)
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
import com.datastax.driver.core.Cluster;
|
||||
import com.datastax.driver.core.ColumnDefinitions;
|
||||
import com.datastax.driver.core.ColumnMetadata;
|
||||
import com.datastax.driver.core.DateWithoutTime;
|
||||
import com.datastax.driver.core.LocalDate;
|
||||
import com.datastax.driver.core.Metadata;
|
||||
import com.datastax.driver.core.ResultSet;
|
||||
import com.datastax.driver.core.Row;
|
||||
|
|
@ -418,13 +418,13 @@ public class CqlRecordReader extends RecordReader<Long, Row>
|
|||
}
|
||||
|
||||
@Override
|
||||
public DateWithoutTime getDate(int i)
|
||||
public LocalDate getDate(int i)
|
||||
{
|
||||
return row.getDate(i);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DateWithoutTime getDate(String s)
|
||||
public LocalDate getDate(String s)
|
||||
{
|
||||
return row.getDate(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue