Dear all,

Currently, we have two classes of time related vectors. One class are named
TimeXXVector, while the other class are named TimeStampXXVector. We found
there are some redundant code for these classes, so we want to do some
refactorings for them.

1. For TimeXXVector, all classes extend BaseFixedWidthVector. Internally,
they are just IntVector or BigIntVector. The only differences are:

1) minor type
2) the result of getObject method.

Proposed way of refactoring: we make them extend IntVector or BigIntVector,
so much get/set code for int/big int can be reused.

2. For TimeStampXXVector, all classes extend TimeStampVector. Internally,
they are BigIntVectors.

Proposed way of refactoring: we remove the TimeStampVector, and make all
classes extend BigIntVector, so much of the get/set methods can be reused
from super class.

Please give your valuable feedback.

Best,
Liya Fan

Reply via email to